The UNIX and Linux Forums  

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



Thread: using tail -f
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 10-23-2002
cdunavent cdunavent is offline
Registered User
 

Join Date: Sep 2001
Location: D.C.
Posts: 48
Vishnu:

I tried using tail -f log_X | grep n >> log_Y yesterday...it DID NOT work. I also tried a tail -f log_X | grep n >! log_Y. No go.

The reason I am using tail -f is because I want this to be a "real-time monitor". Once "n" appears, I need it to notify me.

Any other ideas?

TYIA
Reply With Quote