The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
how to grep for string in log file
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
how to grep for string in log file
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
11-22-2007
sandy0077
Registered User
Join Date: Aug 2007
Location: UK
Posts: 10
or maybe... u could
grep "the requested operation was successfully completed" logfile > /dev/null
if [ $? -eq 0 ]
then
continue
else
exit
fi
-
sandy0077
View Public Profile
Find all posts by sandy0077
Find sandy0077's past nominations received
Find sandy0077's present nominations given