首页 » 系统相关 » linux du 显示路径下各子目录大小

linux du 显示路径下各子目录大小

use  command du  display estimate file space usage size of subdirectories

[oracle@ahjcyl-db backup]$ pwd
/backup
[oracle@ahjcyl-db backup]$ du -sh
15G     .
[oracle@ahjcyl-db backup]$ du -h –max-depth=1 /backup/
626M    /backup/archivedlog
5.8G    /backup/DB_back
3.8G    /backup/soft
4.2G    /backup/rpm
16K     /backup/lost+found
15G     /backup/

打赏

目前这篇文章有1条评论(Rss)评论关闭。

  1. Berry Dugat | #1
    2011-12-21 at 04:14

    This web site is really a walk-through for all of the info you wanted about this and didn’t know who to ask. Glimpse here, and you’ll definitely discover it.