Results 1 to 7 of 7

Thread: best way to display disk usage in terminal

  1. #1
    Join Date
    Sep 2007
    Beans
    29

    best way to display disk usage in terminal

    well ive been using
    Code:
    du -h
    h option for human readable

    but its pretty cluttered and usually hidden files make things hard to read. i didnt see anything in the man files to exclude hideen files

    also just discovered
    Code:
     ls -s -h
    s to display size and h for human readable

    what do you all use?
    muuwt

  2. #2
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: best way to display disk usage in terminal

    I wrote a guide about disk space a while back. Section 4 deals with commands to help determine disk usage and some of their advantages/limitations:
    http://ubuntuforums.org/showthread.php?t=1122670
    GRUB2

    Retired.

  3. #3
    Join Date
    Dec 2010
    Location
    Jacksonville, Florida
    Beans
    38
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: best way to display disk usage in terminal

    Quote Originally Posted by muuwt1 View Post
    well ive been using
    Code:
    du -h
    h option for human readable

    but its pretty cluttered and usually hidden files make things hard to read. i didnt see anything in the man files to exclude hideen files

    also just discovered
    Code:
     ls -s -h
    s to display size and h for human readable

    what do you all use?
    muuwt

    i'm new and may be way wrong, but wont gparted do it? sudo get-apt install gparted is the terminal command. to get it if you need it.

  4. #4
    Join Date
    Aug 2009
    Location
    United States
    Beans
    4,460
    Distro
    Ubuntu Development Release

    Re: best way to display disk usage in terminal

    Quote Originally Posted by drs305 View Post
    I wrote a guide about disk space a while back. Section 4 deals with commands to help determine disk usage and some of their advantages/limitations:
    http://ubuntuforums.org/showthread.php?t=1122670
    I have just noticed you have your guides in your signature was going to ask for a list to be posted.
    If you have other guides would you mind posting in this thread.
    Last edited by garvinrick4; January 1st, 2011 at 03:54 AM.
    Remember hence where you come and pass it down.
    Ubuntu Forums member #899097 and Ubuntu Member:
    http://www.ubuntupocketguide.com/index_main.html
    Main Page -

  5. #5
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: best way to display disk usage in terminal

    Quote Originally Posted by garvinrick4 View Post
    I have just noticed you
    have your guides in your signature was going to ask for a list to be posted.
    You can find many of my submissions by going to Search, Advanced Search and put "drs305" in the username and "Tutorials & Tips" in the search forum window. Some are a bit old but I try to keep them up-to-date. There are lots of great guides on the UF and limiting a search to a single user isn't probably the best way to find an answer....
    Last edited by drs305; January 1st, 2011 at 03:58 AM.
    GRUB2

    Retired.

  6. #6
    Join Date
    Aug 2009
    Location
    United States
    Beans
    4,460
    Distro
    Ubuntu Development Release

    Re: best way to display disk usage in terminal

    Quote Originally Posted by drs305 View Post
    You can find many of my submissions by going to Search, Advanced Search and put "drs305" in the username and "Tutorials & Tips" in the search forum window. Some are a bit old but I try to keep them up-to-date. There are lots of great guides on the UF and limiting a search to a single user isn't probably the best way to find an answer....
    That was a very nice method to find the quides you have taken time to write. I really have to learn to use this forum better and all it's features.
    Remember hence where you come and pass it down.
    Ubuntu Forums member #899097 and Ubuntu Member:
    http://www.ubuntupocketguide.com/index_main.html
    Main Page -

  7. #7
    Join Date
    Sep 2007
    Beans
    29

    Re: best way to display disk usage in terminal

    Quote Originally Posted by Red Raven View Post
    i'm new and may be way wrong, but wont gparted do it? sudo get-apt install gparted is the terminal command. to get it if you need it.
    apt-get

    g parted is great for big picture disk usage, but when navigating in terminal, to see how much space is being used under a certain directory, ive found du and ls to be really helpful.

    i checked out the tutorial. sweet, thanks

Bookmarks

Posting Permissions

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