Re: disk space remaining
From: Greg Beeker (gbeeker_at_gmail.com)
Date: 02/23/05
- Previous message: John Kelly: "Re: unix riddlee"
- In reply to: Bev A. Kupf: "Re: disk space remaining"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 23 Feb 2005 08:09:42 -0800
Bev A. Kupf wrote:
> On Sat, 12 Feb 2005 13:18:58 -0800,
> Lowell Kirsh (lkirsh@cs.ubc.ca) wrote:
> > How can I check how much space I have left on my hard disk? I use
bash,
> > if that matters.
>
> `df` should tell you the number of kilobytes used/available on all
> mounted partitions. So I suppose you could mount all the partitions
> on your disk, and then try `df`.
Depending on your OS, df may show data reported on 512 byte blocks. I
always use df -k for data reported in 1024 byte blocks.
df
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 65536 22272 67% 1982 13% /
df -k
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 32768 11136 67% 1982 13% /
>
> Beverly
> --
> Many a smale maketh a grate -- Geoffrey Chaucer
- Previous message: John Kelly: "Re: unix riddlee"
- In reply to: Bev A. Kupf: "Re: disk space remaining"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|