Common Ubuntu Commands – Listing Directory Size

F.A.Q.'s, Ubuntu, Ubuntu Server

To list directory size in ubuntu use the following command. Be careful as it is recursive and will list everything below the directory you are in.

du -h

To overcome being hit with to many files for your screen use the pipe to less command:

du -h | less

To quit just hit the q key.

No Comments

Leave a Reply

You must be logged in to post a comment.