Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I'm kinda new to Linux I use du -skb to get free space at a point in my filesystem. like this... cd / du -skb And it will return ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    11

    Getting a good Byte/Megabyte readout


    Hi, I'm kinda new to Linux

    I use du -skb to get free space at a point in my filesystem.

    like this...

    cd /
    du -skb

    And it will return somthing like this in bytes...
    11808134357

    I now must convert this, to get somthing which is around 87.9 gigs.

    kinda allot of work. just for this.

    QUESTION:
    What would be the correct way to get a good readout of what the disk size is
    from the command line.

    Thanks,
    -areal

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,356
    Code:
    du -h
    ..which is described here:
    Code:
    man du
    You must always face the curtain with a bow.

Posting Permissions

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