Differences between version 29 and previous revision of CommonErrors.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 29 | Last edited on Thursday, June 10, 2004 4:11:09 pm | by BenBotto | Revert |
Older page: | version 28 | Last edited on Thursday, June 10, 2004 4:09:45 pm | by BenBotto | Revert |
@@ -54,9 +54,9 @@
!!-bash: /bin/bash: Permission denied: /path/to/program
!!bash: /path/to/script: /bin/bash: bad interpreter: Permission denied
-This
error happend after opening my firewall script in windows with notepad, because windows uses Carriage Return <CR>. I use MonMotha's script, and after editing it with notepad it would no longer work in red hat. After re-downloading the script it ran fine.
+The
error "Bad interpreter: no such file or directory"
happend after opening my firewall script in windows with notepad, because windows uses Carriage Return <CR>. I use MonMotha's script, and after editing it with notepad it would no longer work in red hat. After re-downloading the script it ran fine.
Note that other shells (such as zsh(1)) don't give the "bad interpreter" part of the message for some of the following circumstances - only bash(1) seems to.
Possible causes for this message (in decreasing order of probability):