Find the answer to your Linux question:
Results 1 to 8 of 8
Is there anyway to check how much disk space i've used and how much is left on my hard drive (i'm using KDE 3.0)?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Feb 2003
    Location
    Swansea (UK)
    Posts
    221

    Disk Space


    Is there anyway to check how much disk space i've used and how much is left on my hard drive (i'm using KDE 3.0)?

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Run the `df' command from a shell prompt - that will print the disk usage on all mounted filesystems.

  3. #3
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    Code:
    df -h
    Shows a little more sane result
    Regards

    Andutt

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie
    Join Date
    Feb 2004
    Location
    India
    Posts
    132
    Hi,
    Since you said you were using KDE
    open
    kmenu > control center > Information > Storage Devices

    You will see nice information.
    p.s.
    command to try
    du --max-depth=0 -h
    Try this in your home directory or anywhere
    Bye
    You are the one Linux!

  6. #5
    Linux User zba78's Avatar
    Join Date
    Feb 2004
    Location
    Birmingham, England
    Posts
    335
    If you are using KDE you can also type
    Code:
    kdf
    in a command shell to bring up a nice graqhical view of disk space usage
    Ubuntu Jaunty :: Arch Linux (current) :: Acer Aspire 1692WMLi

  7. #6
    Linux Newbie
    Join Date
    Feb 2003
    Location
    Swansea (UK)
    Posts
    221
    Quote Originally Posted by zba78
    If you are using KDE you can also type
    Code:
    kdf
    in a command shell to bring up a nice graqhical view of disk space usage
    oh thats kool, thx...... i wont use the system info on kde because i wanted a terminal command for this

  8. #7
    Linux User
    Join Date
    Sep 2003
    Posts
    254
    U could also use
    Code:
    fdisk -l

  9. #8
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    However, `fdisk -l' doesn't display how much space is left or anything. It just lists the partitions and how large they are. You also have to run it as root.

Posting Permissions

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