- Forums
- Linux Hosting
- How To Find Out How Much Free Disk Space You Have In Linux
this page will give you the linux shell command you will need to find out how much free diskspace you have available in your hard drive in a linux computer system [516], Last Updated: Sat May 18, 2024
wallpaperama
Wed Jul 16, 2008
1 Comments
3333 Visits
df -h
df -h is a simple command you can use to find out how much free space you have in your linux hard drive. with this command you can find out and display the space available in your file system. it will also show you some important information
you can also try this command:
du -hs /
this is the command i use most often, it shows me how much spache each directory is using.
for example;
du -h --max-depth=1 /