Sunday, July 18, 2010

Finding Full Size of a Directory in Human readable format - UNIX/LINUX

Command:   du -sh directory
here, -s, --summarize => display only the total of the specified directory

        -h, human readable format =>print size of a directory in human readable format e.g., 100K or 2000M or 4.9 G

No comments:

Post a Comment