• BOOKMARK

  • ADD TO FAVORITES

  • REFERENCES


  • MARC

    Mailing list ARChives
    - Search by -
     Subjects
     Authors
     Bodies





    FOLDOC

    Computing Dictionary




  • Text Link Ads






How to get the size of a folder from the command line?

General questions about Linux.

How to get the size of a folder from the command line?

New postby Cat on Mon Feb 10, 2014 2:47 am

How do I get the size a folder from the command line?

Than you 8-)
User avatar
Cat
 
Posts: 15
Joined: Thu Dec 26, 2013 7:21 pm

Re: How to get the size of a folder from the command line?

New postby Patton on Mon Feb 10, 2014 4:51 am

Code: [Select all] [Expand/Collapse] [Download] (Untitled)
du -hs /path/to/your/folder


The option '-h' stands for human readable format.
The option '-s' displays a summary of the directory size. It is the simplest way to know the total size of the current directory.
"If everyone is thinking alike, then somebody isn't thinking." - George S. Patton
User avatar
Patton
 
Posts: 18
Joined: Tue Dec 10, 2013 11:22 pm


Return to Linux General Help

Who is online

Users browsing this forum: No registered users and 2 guests

  • MORE RESOURCE


  • Linux

    The Distributions





    Linux

    The Software





    Linux

    The News



  • MARKETING






  • Toll Free
cron