Find the answer to your Linux question:
Results 1 to 4 of 4
Can someone give me the command that tells me how much of a disk is used? Is it a fdisk command?...
  1. #1
    Just Joined! newbie56's Avatar
    Join Date
    Jan 2009
    Posts
    36

    Command for disk usage

    Can someone give me the command that tells me how much of a disk is used? Is it a fdisk command?

  2. #2
    Just Joined!
    Join Date
    Mar 2009
    Posts
    4
    Quote Originally Posted by newbie56 View Post
    Can someone give me the command that tells me how much of a disk is used? Is it a fdisk command?
    Hello,

    Try the following commands.

    df
    du

  3. #3
    Just Joined! newbie56's Avatar
    Join Date
    Jan 2009
    Posts
    36
    Great. That works.

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Use -h or -m option with df.
    Code:
    df -h
    Check its manual :
    Code:
    man df
    I would suggest you check this site too : linuxcommand.org
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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