≡ Menu

How to find out Hard drive space usage in Linux

I was reading through blogs and found out a very nice tip about finding out the space we’re using in a linux system .. so here’s the command:

du -hs / | sort -nr | more  (This shows the total space usage of the system)

powered by performancing firefox

Comments on this entry are closed.

  • Sanix March 7, 2007, 5:31 am

    Here’s another article explaining the use of du command:

    http://www.codecoffee.com/tipsforlinux/articles/22.html

  • StDogbert May 4, 2007, 10:53 pm

    Nice tip… I did not know that. Gives you a quick short total. I also have used df -lk. That gives a breakdown with mountpoints and percentages used if one wanted that amount of detail in the output.

Next post:

Previous post: