Get the size in MB/GB of all child folders.
We will be using the du
utility, short for disk usage.
Command: sudo du -sh *
Breakdown:
-s, --summarize display only a total for each argument
-h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G)
*
Wildcard to view all directories