Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If I type bash -i release_script.sh it starts processing the script

If I type bash --login -i release_script.sh I get the error:

bash: release_script.sh: No such file or directory

I don't understand why suddenly it can't even find the script. Is the error message inaccurate or did I miss something really obvious?

share|improve this question
2  
If you give an absolute path to the script, does that solve the problem? –  David Schwartz Jan 26 '12 at 9:46

1 Answer 1

If you are using Cygwin Bash, you can just call the script directly.

$ cd /tmp

$ echo 'echo Hello World!' > hello.sh

$ ./hello.sh
Hello World!
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.