Guides 11791 Published by

Linuxers posted a tutorial about checking the filesize or disk space usage of directories/files using du command



As a linux beginner, I tried to do stuff from the console as often as possible but for somethings I ended up relying on the GUI. Filesize was one of those things. I don't know why I never searched for it but I came to know about du while looking at one of my seniors work on his system.

Du probably stands for "disk usage". You will usually need these two options - 'h' and 's'. e.g. If you want find out the size of a file, say a movie, then run the following command.
  Check the filesize or disk space usage of directories/files using du command