To check disk space, you can use one the following commands:
This command would list the amount of space used and available on each partition of the system.
du commands lists disk space usage file by file. Read du man pages before using du.
vmstat outputs virtual memory statistics
$ ls -l
Outputs file names and sizes.