![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Greping from zipped files without unzipping | kanu_kanu | Shell Programming and Scripting | 3 | 03-05-2008 07:01 AM |
| how to check if file is zipped | arushunter | UNIX for Dummies Questions & Answers | 3 | 03-07-2007 09:38 AM |
| sendind a zipped file via email | rooh | UNIX for Dummies Questions & Answers | 2 | 10-10-2002 07:10 PM |
| uploading Zipped files get 553 error | CoastGuard1970 | UNIX for Dummies Questions & Answers | 3 | 06-27-2002 12:09 PM |
| zipped or unzipped file | ted | UNIX for Dummies Questions & Answers | 3 | 06-25-2002 05:11 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
grep thru zipped files
Hi All,
I need to check the logs and grep it. The problem is that the previous days are zipped with *.gz. How do grep on the *.gz? Thank you in advance. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Code:
zgrep 'pattern' filename.gz |
|||
| Google The UNIX and Linux Forums |