Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dos equivalent command...

Status
Not open for further replies.

sos

IS-IT--Management
Apr 10, 2000
53
CA
How do I determine available space on partitions?

For example is there a linux command similar to chkdsk in dos?
 
df


I think ====================================
I love people. They taste just like
chicken!
 
thx guys!!!
i have been trying to figure this out for a while....:)
LOL
 
'df -h' will show you available space on partition and print it in human-readable form. All that means is that instead of saying 1000, it will say 1K, or 1000000 is 1M.

The 'du -sh' command is also another helpful command. It will show you how much space a directory is using.

The command similar to chkdsk in DOS is 'fsck'.


ChrisP

------------------------------------------------------------------------------
If somebody helps you, please click the link in the botton left hand corner that says "Mark this post as a helpful/expert post".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top