Messages in this thread | | | Date | Fri, 22 Jan 2010 10:25:07 +0800 | Subject | Re: Hi all, bug or design flaw? | From | Américo Wang <> |
| |
On Fri, Jan 22, 2010 at 10:00 AM, Shu Wu <superwushu@gmail.com> wrote: > Hey, buddy, this is not the right place to raise a user-space > question. But as for your question, you'd better to learn what the "." > means. "#!/bin/bash" is used to indicate in shell when executed, while > to be just a comment in the latter. >
"." equals to "source", which means sourcing a file, it is the shell which he is using does this, which is always available by executing "echo $0" from command line. Yes, shebang is used when executing.
| |