This bash script allows you to check total disk space and available disk space (in GB format) from command line. Wrote it after getting frustrated from byte format answer.
- Download the script.
- Run the script
OR
- Copy content in file.
- Run as a command from console.
- for Windows only. :(