Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How much space is on my hard drive?

    I was wondering if there was any way I could type in a command to tell me how much free space I have left on my hard drive. That's it.

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2005
    Odessa, FL
    this command will do what you're looking for:
    df -h
    it displays the total, used, and available amount of space for each partition

  3. #3
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Another useful command you may use along with this is du which you can use against a file or folder to get it's size (disk usage). The same -h switch works to make the file sizes 'human readable'.

  4. $spacer_open
  5. #4
    Exactly what I was looking for. Thank you.

Posting Permissions

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