显示用户、目录或文件系统以及使用的1024 字节块数。
# quot [-a] [filesystem ...]
-a 列出每个已挂载UFS 文件系统的所有用户以及所用的1024 字节块数。
filesystem 标识UFS 文件系统。将显示该文件系统的用户以及所用块数。
注– quot 命令仅适用于本地UFS 文件系统。
bash-3.00# quot /
/dev/rdsk/c0d0s0:
3694768 ora10g
3672089 root
340964 oracle
2057 adm
754 uucp
188 bin
114 svctag
13 lp
8 postgres
7 nobody
6 daemon
2 gdm
2 smmsp
2 webservd
bash-3.00#
如何利用find删除多日不访问的文件
find / -type f -atime +60 -print >/x.txt &
rm `cat /x.txt`
bash-3.00# find . -name core -exec rm {} \;
# quot [-a] [filesystem ...]
-a 列出每个已挂载UFS 文件系统的所有用户以及所用的1024 字节块数。
filesystem 标识UFS 文件系统。将显示该文件系统的用户以及所用块数。
注– quot 命令仅适用于本地UFS 文件系统。
bash-3.00# quot /
/dev/rdsk/c0d0s0:
3694768 ora10g
3672089 root
340964 oracle
2057 adm
754 uucp
188 bin
114 svctag
13 lp
8 postgres
7 nobody
6 daemon
2 gdm
2 smmsp
2 webservd
bash-3.00#
如何利用find删除多日不访问的文件
find / -type f -atime +60 -print >/x.txt &
rm `cat /x.txt`
bash-3.00# find . -name core -exec rm {} \;
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9240380/viewspace-613525/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/9240380/viewspace-613525/