a guest Dec 13th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- # 列出当前路径下最占用磁盘空间的前十个文件
- du -a | sort -n -r | head -n 10
- du - 计算目录的磁盘空间占用的大小，及文件大小
- sort - 排序
- head - 取出多少行
RAW Paste Data