Re: [Hampshire] Baffled by df/du

Top Page

Reply to this message
Author: Jacqui Caren
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Baffled by df/du
Jacqui Caren wrote:
> I could understand /home/. but /home/* is a tad risky.
> Esp. If some idiot(me) has symlink another fs under /home/pics :-)


I also forgot the -k option for du.
I *hate* counting blocks and stick to Kilobytes - especially on my
mandrake box that insists on trying to show my the amoutn of space
used in the minimal number of chars.

du -sk gives 29123456 (number made up) in KB.
du -s gives "29G" - which is *so* usefull for shell scripting :-)

Jacqui