Step 1/1: Space used by a directory
du adds up the disk space used by files and directories. -s shows only the total, -h uses K, M, G. To find big directories, try du -sh *.
$ du -sh projectsFundamentalsdu
How much space does a directory use?
Use du to show the total space used by scripts: one summary line, in human-readable units such as K and M.
$$$$$$$$$$$$$$$$gggggggggggggggggggggggggggggggg
Exercise: How much space does a directory use?. The result appears on the left when you
're done.
user@elp:~/challenge$