Welcome to the Linux Foundation Forum!

see all folder with their size in /

Hi every one

I want to see all folder with their sizes in /

Please what is the commande for this.

Thank you


  • morks
    morks Posts: 3
    du -sh /* 2>/dev/null

    to get a list of all folders. Better you run this as root or use sudo.
  • sedor
    sedor Posts: 9
    Like morks wrote above, the du command can be used to find out how much space is being consumed by a particular directory and its subdirectories. To get the output in KB, use the -h option: du -h.


Upcoming Training