Check the filesize or disk space usage of directories/files using du command
Posted on: 11/05/2010 11:44 AM

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

Check 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.



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/check_the_filesize_or_disk_space_usage_of_directoriesfiles_using_du_command.html)