Both Linux and Unix offer commands to check free disk space.
Check disk usage and free disk space
View how much space one or more files or directories is using
-s option summarize the space a directory is using and -h option provides “Human-readable” output
Examples of these commands being used and the outputs:
To display the size of files in a given directory:
du -sh *
du -csh *