Mailinglist Archive: opensuse (3893 mails)

< Previous Next >
Re: [opensuse] Changing users temp folder
  • From: Kenneth Schneider <suse-list3@xxxxxxxxxxxxx>
  • Date: Tue, 02 Jan 2007 22:08:19 -0500
  • Message-id: <1167793699.5814.15.camel@xxxxxxxxxxxxxxxxx>
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: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >