[NTLUG:Discuss] command help
    Wayne Walker 
    wwalker at bybent.com
       
    Thu Aug 17 15:00:52 CDT 2006
    
    
  
On Thu, Aug 17, 2006 at 05:37:02PM +0000, m m wrote:
> All:
> 
> what is the command to list (and ordered) first 20 biggest size file in any 
> directory?
du -ak some/dir | sort -nr | head -n 20
or
ls -lS | head -n 20
> what is the command to list (and ordered) files which have been access 
> wthin one month?
find bin -type f -atime -30 -print0 | xargs -0 ls -drtu1
> 
> ls command don't do this. :(
> 
> Thanks
> 
> _________________________________________________________________
> Don?t just search. Find. Check out the new MSN Search! 
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
> 
> 
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
-- 
Wayne Walker
www.unwiredbuyer.com - when you just can't be by the computer
wwalker at bybent.com                    Do you use Linux?!
http://www.bybent.com                 Get Counted!  http://counter.li.org/
Perl - http://www.perl.org/           Perl User Groups - http://www.pm.org/
Jabber:  wwalker at jabber.gnumber.com   AIM:     lwwalkerbybent
IRC:     wwalker on freenode.net
    
    
More information about the Discuss
mailing list