Results 1 to 2 of 2

Thread: Linux: Find Out Directory Size Command Share/Save - My123World.Com!

  1. #1
    ... I am no Expert b0nd.g4h@gmail.com b0nd's Avatar
    Join Date
    Jul 2010
    Location
    irc.freenode.net #g4h
    Posts
    744

    Linux: Find Out Directory Size Command

    du -h -> shows size of directories and recursively all files in them within pwd
    du -hs -> shows size of directories only within pwd
    du -hs .[^.]* -> shows size of all hidden directories in pwd

    Cheers!
    [*] To follow the path: look to the master, follow the master, walk with the master, see through the master,
    ------> become the master!!! <------
    [*] Everyone has a will to WIN but very few have the will to prepare to WIN
    [*] Invest yourself in everything you do, there's fun in being serious

  2. #2

    Lightbulb

    Quote Originally Posted by b0nd View Post
    du -h -> shows size of directories and recursively all files in them within pwd
    du -hs -> shows size of directories only within pwd
    du -hs .[^.]* -> shows size of all hidden directories in pwd

    Cheers!
    Code:
     du -hs .[^.]* -> shows size of all hidden directories in pwd
    This is interesting command and there is another command to get hidden directories size.
    Code:
    du -k /var/www
    Garage4Hackers bugs for the community , of the community

    We provide IT
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    :
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    |
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    |
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    |
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •