On Mon, Mar 04, 2013 at 12:54, Paul de Weerd wrote: > On Mon, Mar 04, 2013 at 12:32:32PM +0100, Paolo Aglialoro wrote: > | Great one! > | How to put that nice expression into an alias without console complaining > | when executed?
I may be an oddball here, but I prefer just making little shell scripts and putting them in ~/bin for stuff like this. Advantages are you can get a little more complicated and when you inevitably need to edit the script later, it automatically updates in every shell without having to re-source .profile. > I still wonder why people want to know this (seemingly useless) value. > What does it even mean ? I forget now why I made that script, but I did it for a reason. :) I think I was trying to determine which of two directories had more data in it. du is good for telling you how much space you need, but doesn't actually tell you how much stuff you have.