查看centos磁盘情况,查找大文件路径

查看centos磁盘情况

df -h

查找大文件(大于1000M)路径 

s -lh  $(find / -type f -size +1000M) 或 du -sh /* | sort -nr  显示G M K  大文件夹 并排序

  

原文地址:https://www.cnblogs.com/blog-dyn/p/14239639.html