/ Published in: Bash
Expand |
Embed | Plain Text
sed -i.bak s/check_http_redirect_temporarily/check_http_redirect/ *
Comments
Subscribe to comments
You need to login to post a comment.
therobot on 10/08/07
3 people have marked this snippet as a favorite
sed -i.bak s/check_http_redirect_temporarily/check_http_redirect/ *
Subscribe to comments
You need to login to post a comment.
test
For changing paths you can use other special character as separator: sed -i s:/usr/lib/nagios/plugins/:/usr/local/nagios/libexec/: *