![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| how to grep word from .gz files & .z files | udaya_subbu | Shell Programming and Scripting | 8 | 08-08-2008 06:53 AM |
| grep from .z files | koho | Shell Programming and Scripting | 4 | 11-16-2007 01:55 AM |
| listing files along with grep -v | charlie11k | UNIX for Dummies Questions & Answers | 5 | 06-01-2007 08:00 AM |
| modifying grep to get files only within last 2 hrs | ragha81 | Shell Programming and Scripting | 3 | 01-11-2007 07:11 PM |
| grep data from files | getdpg | Shell Programming and Scripting | 2 | 01-17-2006 12:57 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Script to grep several files
Hi I am totally new to Unix and I am in need of a script that can grep several files at once.
the script needed: change directory grep for keywords "error" "fail" "warning" in different files with different names, same extention but specific file names. if any of the keywords is found to show the line number and the error I usually run this grep manually every hour and it's time consuming, running a cron is not an option, so I would just copy and paste the script when needed. Any help will be greatly appreciated. Thanks, Newby in need. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|