How to know disk space using command line

1 reply [Last post]
shweta
User offline. Last seen 12 weeks 4 days ago. Offline
Joined: 04/16/2009
bOt Points: 139

Which command should I use to know the disk usage on Linux. I am using ubuntu 9.04

bOtskOOl
User offline. Last seen 19 weeks 2 days ago. Offline
Joined: 02/21/2009
bOt Points: 3496
Re:Disc Space

$ df

(This command will display your disk usage on any Linux but in blocks)

$ df -h

(Use this for human redable format or in mb/gb format)