A simple way to get used disk space on your Linux system and summary of the available space, just type "df" or "du" command in a terminal. The command "df" stands for disk filesystem.
The "du" command on the other hand shows the disk space used by the files and directories in the current directory.
All all commands in linux, we also have options for this.
$ df [options]
$ du [options]
Examples for your reference:
$ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/root 909G 728G 135G 85% / none 9.9G 268K 9.9G 1% /dev shmfs 20G 7.6G 13G 38% /dev/shm none 9.9G 356K 9.9G 1% /var/run none 9.9G 4.0K 9.9G 1% /var/lock none 9.9G 0 9.9G 0% /lib/init/rw /dev/sda1 228M 196M 20M 91% /boot /dev/mapper/oracle 2.7T 661G 2.0T 26% /u01Option "-h" represents human readable format.
Also you can refer to:
Touch command with examples
RSYNC Command without Authentication
Grep command with examples
Listing all the users in the system