On Tue, 2007-01-02 at 16:20 -0800, Randall R Schulz wrote:
> On Tuesday 02 January 2007 15:00, Greg Wallace wrote:
> > ...
> >
> > Doesn't ~/.bashrc run every time you open a shell?
> 
> The commands contained in ~/.bashrc are executed for every shell invoked 
> unless the "--norc" option is specified. That's true not only for 
> interactive shells but also for shells launched to execute scripts, 
> which is why all my scripts use this shebang line:
> 
> !#/bin/bash --norc

I think is should be:

#!/bin/bash --norc

Which is why it is referred to hash-bang - the hash then the exclamation
mark.

-- 
Ken Schneider
UNIX  since 1989, linux since 1994, SuSE  since 1998

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to