Search Results

Search: Posts Made By: sangfroid
887
Posted By sangfroid
just change output=$(grep "ERROR"...
just change

output=$(grep "ERROR" $logfile|grep -v "pattern that u don't want to match")

man grep:

-v, --invert-match
Invert the sense of matching, to select non-matching...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 09:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy