whatever that is … .oO(?)
/etc/init.d/snortd start -bash: /etc/init.d/snortd: /bin/sh^M: bad interpreter: No such file or directory
Obviously, you used the wrong line endings. Unix/Linux traditionally uses just a Linefeed (\n, ASCII 10 or 0x0A), while Windows uses Carriage Return plus Linefeed (\r\n, ASCII 10,13 or 0x0D 0x0A). So bash “sees” the unexpected Carriage return character before the Linefeed and takes it as part of the text.
Save your scripts again, this time using LF only as line endings.
[X] Doc CPU