Search Results

Search: Posts Made By: yash_message
3,086
Posted By RudiC
In your first script, you're both too generous,...
In your first script, you're both too generous, and not enough, with "command substitutions". Try
for i in "${SERVICES[@]}"
do pgrep $i >/dev/null
STATS=$?
if [ $STATS == 0 ...
4,900
Posted By Neo
Good news, So, what did you learn? ...
Good news,

So, what did you learn?

Maybe.....

Always use full paths in these kinds of script :) .
2,324
Posted By RudiC
A decent specification will help everybody to...
A decent specification will help everybody to save time and effort. Try


sed '/&@@10.10.10.10/ s/^/#/' file
3,891
Posted By Neo
When you send via email, you must specify the...
When you send via email, you must specify the MIME type.
Showing results 1 to 4 of 4

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