Created
May 16, 2016 07:56
-
-
Save avidmaulanas/e91d1f8490112bf7f87f877b79915362 to your computer and use it in GitHub Desktop.
Commad Linux for check directory size
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| du -sh is a good place to start. The options are (from man du): | |
| -s, --summarize | |
| display only a total for each argument | |
| -h, --human-readable | |
| print sizes in human readable format (e.g., 1K 234M 2G) | |
| To check more than one directory and see the total, use du -sch: | |
| -c, --total | |
| produce a grand total |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment