On Jan 22, 2008, at 5:20 PM, Mark A Timm wrote:

When the following script runs:

opt/nessus/bin/nessus -T html -q 10.32.47.48 1241 userid password
/home/nessus/iplist/ColDMZ /home/nessus/reports/col.dmz.html


It generates the following error message:

/home/nessus/iplist/ColDMZ: line 1: 10.175.232.1-254,10.175.233.1-254,10.175.234.1-254,10.175.235.1-254: command not found


Can anyone tell me why this isn’t working?


It seems that your command is split on two lines, so the shell tries to execute the file /home/nessus/iplist/ColDMZ as if it were a shell script.

Either concatenate the two lines in a single one, or add a '\' at the end of the first line.



                                -- Renaud
_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to