So I have a perl script (a nagios plugin as a matter of fact) and when I try to execute it via the command line on ubuntu, I get the following error -bash: !0: event not found. So naturally I open up the source code and peruse through the source code... things look good. A quick
does not help much. I checked elsewhere on the net and all the posts seem to point towards the fact that the ! character is interpreted by the bash shell; which causes the issue. I digress... since I am calling it via perl, the shell has nothing to do with a ! in the script. Any thoughts in the hallowed hall????perl -c check_basicauth.pl check_basicauth.pl syntax OK
Cheers......
In reply to event not found by MarkovChain
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |