Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I type bash -i it starts processing the script

If I type bash --login -i I get the error:

bash: 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
If you give an absolute path to the script, does that solve the problem? – David Schwartz Jan 26 '12 at 9:46

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

$ cd /tmp

$ echo 'echo Hello World!' >

$ ./
Hello World!
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .