get ubuntu disk free space terminal code example
Example: check disk space ubuntu from terminal
#report file system disk space usage
df -h
or
sudo du -sh ./*
or
du -h -s *
#check space with path
df / -h
or
df -h /
#check space with type
df -Th
#report file system disk space usage
df -h
or
sudo du -sh ./*
or
du -h -s *
#check space with path
df / -h
or
df -h /
#check space with type
df -Th