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

Comments

  • Posts: 3
    Use:
    1. du -sh /* 2>/dev/null

    to get a list of all folders. Better you run this as root or use sudo.
  • 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.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training