Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: How to check hard drive space

  1. #11
    Join Date
    Aug 2012
    Beans
    49

    Question Re: How to check hard drive space

    Quote Originally Posted by pmon View Post
    A command I use to analyse where space is being used is
    Code:
    du -sk * | sort -n
    which will report, in size order, where the highest usage is in the directory it's run from.
    ***hello..does this work with ubuntu 11.04?? thankyou..

  2. #12
    Join Date
    Jul 2012
    Beans
    3

    Re: How to check hard drive space

    It does work on 12.10.

    Edit: If I run this from my home-folder (du -sk * | sort -n) (In terminal), is there a way to make it show hidden folders/files ?
    Last edited by reptilez; September 19th, 2012 at 09:22 AM.

  3. #13
    Join Date
    Sep 2012
    Beans
    10

    Re: How to check hard drive space

    Here's a decent looking list of options in addition to the example I provided.

    http://smartproteam.com/linux-command-du-disk-usage/

    AFAIK, with the options I use that command should work in most Linux distros and Unix too!

Page 2 of 2 FirstFirst 12

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
  •