|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Script required
Hi..
I am very new to unix scripting. I have nearly 200 logfiles on my system. Could someone pls give me a script which could grep for 'errors|warnings' in all the logfiles..Pls help me with this as I am stuck. waiting for response, unix12 |
|
#2
|
|||
|
|||
|
Wont this work:
Code:
bash$ cat * || grep -V warninglines > newlogfile.txt im not sure if it works, but by reading the grep man it says V removes lines from output or so. Just hoping this helps. |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > Script required |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|