installation question

Samuel V. Green III unkie at cox.net
Tue Aug 7 12:21:46 CEST 2007


I installed Nagios via macports.

In sub section 2) Configure the Nagios sample files in /opt/local/etc/ 
nagios.

b) Then rename the sample files for use.

    sudo for i in *cfg-sample; do mv $i `echo $i | sed -e s/cfg- 
sample/cfg/`; done;

I get this terminal error:

syntax error near unexpected token `do'

is there another way I can rename these sample files?

thanks for any help,

Samuel.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list