[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: command for disk free ?



On Mon, Jun 16, 2003 at 06:34:24PM +0100, David selby wrote:
| Hello,
| 
| I am writting a bash script, I need the free memory on my hard disk 
| partitions.

FYI, Disk and Memory are separate.  There is no memory on your disk
:-).

(well, barring cache and firmware, but that doesn't count in this context)

| I can get this via gfreedisk or kwikdisk but I need a CLI 
| command so I can process its standard output.

'df'

-D

-- 
> SELECT * FROM users WHERE clue > 0
0 rows returned
                    (http://www.thinkgeek.com/images/products/zoom/no-clue.jpg)
 
http://dman.ddts.net/~dman/

Attachment: pgpdOMeNJAbrX.pgp
Description: PGP signature


Reply to: