Useful command to check the available and used space in Ubuntu
Use the following command to view total disk space availability and usage:
df -h --total
Use the following command to view the size of a specific folder:
du -sh <folder_name>
Use the following command to list the sizes of all subfolders and ordered by size:
du -hs * | sort -hr