David selby wrote:

Hello,

I am writting a bash script, I need the free memory on my hard disk partitions. I can get this via gfreedisk or kwikdisk but I need a CLI command so I can process its standard output.

I have tried man -k free, man -k disk ... etc...but cant find one

I know there must be a linux command for it !
Dave


df it is then ...

echo "$(df)" | grep '/dev/hdb1' | cut -c 53-54

gives me the % I need for the rest of the script, this stuff is starting to make sense!
many thanks


Dave





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to