![]() |
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 05:53 AM |
| listing files along with grep -v | charlie11k | UNIX for Dummies Questions & Answers | 5 | 06-01-2007 07: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 |
| Script to grep several files | sqloyd | Shell Programming and Scripting | 4 | 05-05-2005 04:25 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Quote:
Code:
PATH = /<your path> for temp in `find $PATH -name '*.z'` do grep 'your string' $temp done |
|
||||
|
zcat myfile.Z | grep
|
| Sponsored Links | ||
|
|