1.

Solve : need solution for this question it's urgent?

Answer»

hi
how to list out records that modified in last 5 days

how to check disk free space

Quote from: ramyasmruthi on January 03, 2008, 10:06:23 PM



how to check disk free space


if you are using windows, go into my computer - right click the drive you want to check - propertiesQuote from: kuszmania9999 on January 03, 2008, 10:11:38 PM
Quote from: ramyasmruthi on January 03, 2008, 10:06:23 PM


how to check disk free space


if you are using windows, go into my computer - right click the drive you want to check - properties

Or, as in line with the forum title, if you're using Linux, which distro are you using?

In Ubuntu you just right click the partition and select properties.http://linux.about.com/b/2007/09/10/check-disk-space-with-the-commands-du-and-df.htm
Quote
Check Disk Space with the Commands du and df
A quick way to get a summary of the available and USED disk space on your Linux system is to type in the df command in a terminal window. The command df stands for "disk filesystem". With the -h option (df -h) it shows the disk space in "human readable" form, which in this case MEANS, it gives you the units along with the numbers.

The du command on the other HAND shows the disk space used by the files and directories in the CURRENT directory. Again the -h option (df -h) makes the output easier to comprehend.
Quote from: ramyasmruthi on January 03, 2008, 10:06:23 PM
hi
how to list out records that modified in last 5 days
Code: [Select]find /path -type f -mtime -5 -ls
Quote
how to check disk free space

Code: [Select]# df -k | awk 'NR>1{ print "Filesystem: "$1 "Free: "$4 "k"}'
always look up the man page if you don't know a command.


Discussion

No Comment Found