As I am new to bash scripting (vbs is more my stuff), I can't get this to run. Probably very simple for y'all:
I have a bash script on the C-system disk that is starting a NagWin (nagios for windows) plugin, but in that script I want to start off with a line of code that does a file existence checking on the D-drive in a certain folder.
If this file is there, it just can echo a message and exit, else if this is not there it should continue with the script on the C-drive
The other part of the script runs well only it does not do any checking, probably because something is wrong with the jumping to d drive and c drive or something
Already thanks