[LBo] Running shell script
Rafi Gabzu
rafi.gabzu at gmail.com
Sat Jan 6 10:55:32 CET 2007
Thanks I added it to the .bashrc and it really worked ...
Now my question is , what's the difference between the /etc/bashrc (in my
case,Debian , /etc/bash.bashrc) and the $HOME .bashrc ? this is its
default in case .bashrc is not at home ...?
Thanks
Rafi
On 1/6/07, Chris F.A. Johnson <cfajohnson at teksavvy.com> wrote:
>
> On Fri, 5 Jan 2007, Jisao wrote:
>
> > Chris F.A. Johnson wrote:
> >>
> >> The shebang will not make any difference.
> >
> > So, the shebang is mostly something like a comment to the users to
> visually
> > see that the file is a script?
> >
> > I am confused about its use. I thought it accomplished some purpose...
>
> The shebang does have its uses, but enabling the shell to find the
> script is not one of them.
>
> Its purpose is to tell the OS (or the shell) which intepreter to
> use to interpret the script.
>
> --
> Chris F.A. Johnson <http://cfaj.freeshell.org>
> ===================================================================
> Author:
> Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
> --
> QnA mailing list - To post: QnA at linuxbasics.org
> Site: http://LinuxBasics.org
> List-options: http://LinuxBasics.org/cgi-bin/mailman/listinfo/qna
>
More information about the QnA
mailing list