The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #7 (permalink)  
Old 02-26-2007
ahmedwaseem2000 ahmedwaseem2000 is offline
Registered User
 

Join Date: Aug 2005
Location: Bangalore
Posts: 206
Quote:
Originally Posted by KeesH
Manish,

I have entered the following

root@gmt_prd:/cer_eupuk/log> find /cer_eupuk/log -mtime +2 -type f | grep "/cer_eupuk/log[^/]*$ | grep -v '/rf/'
>

And all I get is the prompt to enter data???? I'm confused

Any help please.
double quotes are missing in the first grep

find /cer_eupuk/log -mtime +2 -type f | grep "/cer_eupuk/log[^/]*$" | grep -v '/rf/'
Reply With Quote