Shell/Bash: linux check disk space Example

By

Shell/Bash Example: This is the "linux check disk space" Example. compiled from many sources on the internet by SimpleTutorials.org

see total space available in shell

df -hx squashfs --total

how to check folder size in linux

# show all folder size in the current directory
du -h --max-depth=1

linux check used space in folder

du -h --max-depth=1

linux check disk space

df -h

bash how to check free disk space in Linux

# Basic syntax:
df -h
# Where the -h flag ensures a "human readable" format

ubuntu storage check

ncdu


* Summary: This "linux check disk space" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others