How Do We Check Which Folder Is Using How Much SPace Via ssh

Discussion in 'Site & Server Administration' started by koolasia, Feb 21, 2007.

Thread Status:
Not open for further replies.
  1. #1
    Whats the command to Check Which Folder Is Using How Much SPace Via ssh
     
    koolasia, Feb 21, 2007 IP
  2. rootbinbash

    rootbinbash Peon

    Messages:
    2,198
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    0
    #2
    gonna use df

    
    http://unixhelp.ed.ac.uk/CGI/man-cgi?df
    
    Code (markup):
     
    rootbinbash, Feb 21, 2007 IP
  3. AdminZoom

    AdminZoom Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    du is another command. I usually use du -h with some other flags (do a man du for more details)
     
    AdminZoom, Feb 21, 2007 IP
  4. tanfwc

    tanfwc Peon

    Messages:
    579
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    try this command

    du -h /directory --max-depth=1
    Code (markup):
    Use this command on the root directory, it will then list out the sub-folder with it's TOTAL size.
     
    tanfwc, Feb 22, 2007 IP
Thread Status:
Not open for further replies.