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

Re: How to check the amount of free disk space?



*- On  5 May, Robert-Jan Kuijvenhoven wrote about "How to check the amount of free disk space?"
> Hi,
> 
> This is probably a very stupid question, but I haven't been able to find the answer to it myself. In DOS it was very easy to check the amount of free disk space, just type dir and the amount of free disk space is shown at the bottom of the list. Now I have installed Debian on a 850 MB disk and I realy have no idea of how much free disk space I have.
> 
> What command do I need to use to find out how much free disk space I have left?
> 
> TIA,
> 
> Robert-Jan
> 
> 

df is the command you want.  See the man page for all the options.

% df -k
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/hda5            3043987 2246087   640465     78%   /
/dev/hdb1             118965   93281    19537     83%   /var
/dev/hdc6             538567  449980    60768     88%   /home
/dev/hda1            1574112 1279616   294496     81%   /bri/c
/dev/hda6            1574112 1420128   153984     90%   /bri/d
/dev/hdc5             562272  194000   368272     35%   /bri/e
//ANGELA/C           2096320 1797248   299072     86%   /ang/c
//ANGELA/D           1048016  899504   148512     86%   /ang/d

The last two are smbfs mounts from my wifes Win95 box.

-- 
Brian 
---------------------------------------------------------------------
Mechanical Engineering                              servis@purdue.edu
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------


Reply to: