Search Results

Search: Posts Made By: yash_message
3,078
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,880
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,311
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,870
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 08:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy