由于du好像要把文件夹的大小算在内,所以我用find+ls来查找系统中比较大的文件
find /u01/app/oracle/ -type f -exec ls -l {} \;|sort +4rn|awk '{print $5"\t"$9}'
find /u01/app/oracle/ -type f -exec ls -l {} \;|sort +4rn|awk '{print $5"\t"$9}'
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8242091/viewspace-598172/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/8242091/viewspace-598172/