Check free disk space df -k .
df -k .
https://stackoverflow.com/questions/8110530/check-free-disk-space-for-current-partition-in-bash