linux folder isze check code example
Example 1: check ubuntu disk space
# shows total, available, and used.
df / -h
Example 2: check folder size in linux terminal
du -sh /home/user/
# shows total, available, and used.
df / -h
du -sh /home/user/