The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Filesystems, Disks and Memory
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 05-16-2007
ghostdog74 ghostdog74 is offline
Registered User
 

Join Date: Sep 2006
Posts: 1,582
Quote:
Originally Posted by igidttam
I tried this and receiveed an error messge that stated bad option -printf

find /sasdb -printf "%s:%p\n"| sort -kin| tail -50
you do not have GNU find.
you first approach should be fine, just that you should check $0 , i don't think its the size. but pls do check.

Code:
find /home/test -type f -ls | awk '{print $7}' | sort -n | tail -50
Reply With Quote