![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| small script help | ali560045 | Shell Programming and Scripting | 9 | 01-18-2008 10:18 AM |
| Very small Shell Script Help... | marconi | Shell Programming and Scripting | 2 | 12-11-2007 05:44 AM |
| small script | everurs789 | Shell Programming and Scripting | 3 | 11-06-2007 05:08 PM |
| small script help | rkl1 | Shell Programming and Scripting | 1 | 12-06-2005 11:26 PM |
| Need help in a small script | super_duper_guy | Shell Programming and Scripting | 2 | 10-24-2005 11:06 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Help in grep and awk
I need to write a small shell script which does the following :
I have a file : root/var/log/ocmp/ocmpclient.log This is a log file which is continuosly getting updated . I have to keep looking into this file all the time. I have to look for four keywords, "File Detected", File Sending", "File Recieved", "Disconnecting" Now whenever i find one of these keywords i have to print them on the screen, this process continues till the computer shuts down. Pls help me, I am supposed to use grep and awk Help me its urgent. Last edited by appu1987; 06-03-2008 at 10:12 PM.. Reason: Title modification for quick response |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|