voodish logo
tweet rss book of faces Linked In

Show size of current directory in Linux


Quick method of showing the overall size of the current directory in Linux.

We have also noted how to show the size of all the sub-directories within the current directory


Show the overall size of current directory

du -h | tail -n 1

Also show the size of sub-directories within current directory

du -h

Example output

[root@www backup]# du -h | tail -n 1
27.6G .

Related Articles

Comments RSS Feed

No Comments Yet

You can be the first to comment!

Leave a comment