The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: Unix script
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 09-01-2008
DILEEP410 DILEEP410 is offline
Registered User
  
 

Join Date: Dec 2006
Posts: 148
Post

Hi,

try out this!


Code:
 find . -type f -name *in -mtime +120| sort | uniq

(In Vidyadhar85's solution,it is not -f but simply f and is the type of file(regular) and also use 'sort' before applying 'uniq',recommended.)

Regards
Dileep Pattayath