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


Posted

in

by

Comments

2 responses to “How to find out Hard drive space usage in Linux”

  1. Sanix

    Here’s another article explaining the use of du command:
    http://www.codecoffee.com/tipsforlinux/articles/22.html

  2. StDogbert

    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.