On Mon, 8 Oct 2007 13:24:35 +0200
roberto <[EMAIL PROTECTED]> wrote:

> hello
> i use the "df -h" or "du -h"command to check how much disk space is
> occupied by files and directories
> 
> but is it possible to sort the output list in an order such that the
> first (or conversely the last) item is the largest in size ?

If you drop the -h you could easiely use sort.  

df | sort -k 2

See man sort


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to