Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
sailci
I get -bash: ./check_usolved_disks.php: /usr/bin/php^M: bad interpreter: No such file or directory
I am new to this so any help would be appreciated.
I am new to this so any help would be appreciated.
Owner's reply
You somehow managed to save the file with windows line endings. If you download the raw file from GitHub it will work. So not an issue with the plugin itself :).
Here are some solutions if you want to change the line endings with several tools on your existing file:
http://stackoverflow.com/questions/14219092/bash-my-script-bin-bashm-bad-interpreter-no-such-file-or-directory