[PLUG] ls question... quick question

Cooper Stevenson cooper at linux-enterprise.net
Mon Jul 1 17:16:11 UTC 2002


Robby;

Execute the following (minus the '$' sighn, that's just the prompt):

  $ du -hc /directory/to/view/size/of

Just to be super-cool, if you wish to see the list of files sorted from
the largest to the smallest, perform the following:

  $ du -k /directory/to/view/size/of | sort -rn | less

See the man page on du (man du) or drop an email on this list for
details about du.

-Cooper


On Mon, 2002-07-01 at 08:19, r0bbY russell aka MaTcHBoY wrote:
> I need to display the directories in the current path...
> ls -l gives me a nice list of files/folders
> but how do i display the size of the folders?
> 
> -Robby
> 
> 
> 
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 
-- 
______________________________________________________
Cooper Stevenson        |cooper at metasource.us
UNIX/Linux Consultant   |PH: (541)791-1322
MetaSource Technologies |www.metasource.us
------------------------------------------------------





More information about the PLUG mailing list