How can I check my free disc space in RHEL OS?
 I copied a DVD in my /data partition, when I tried to copy another DVD it showed me error, I want to check my disc space in shell prompt . Please help me..
 I copied a DVD in my /data partition, when I tried to copy another DVD it showed me error, I want to check my disc space in shell prompt . Please help me..
Hi Monty,
There is a very powerful command that you can find in Linux Operating System, DF is a command for checking the free and used space on the partition. It has few helpful options also.
Examples are given below.
#df             reports disk space used
#df /opt      kilobyte used report
# df -h /etc human readable MB
# df -s /etc  single directory summary
Â
Britnu Salu
You can use any one of these following command options which will display file size on Linux operating systems using shell prompt : ' ls command' – shows list directory contents ' du command ' – shows estimated file space usage ' stat command ' – displays files system stats For example : ' ls -l /bin ' (to determine the size of the file called /bin) You can do the same for checking Disk space by replacing /bin with the Disk #