Re: [opensuse] Changing users temp folder



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



Relevant Pages

  • Re: Redirection issue
    ... 1- execute input commands from standard input, ... the phrase "it does not work anymore" carries very little meaning. ... after compilation and execution of the shell with a simple command like ...
    (comp.lang.c)
  • vulnerabilities in scponly
    ... without allowing shell access. ... scponly makes no effort to verify the path to the scp or sftp-server ... arbitrary commands by simply uploading a file. ... However, if this is *NOT* the case, the user could execute arbitrary ...
    (Bugtraq)
  • RE: Shell Shoveling?!?
    ... Subject: Shell Shoveling?!? ... you need to somehow execute code on the box. ... > 2) wouldn't there be a requirement to escalate privileges in order ... > to run NetCat on the compromised host? ...
    (Pen-Test)
  • Re: Redirection issue
    ... 1- execute input commands from standard input, ... "does not work" could be anything from not compiling, not executing, ... after compilation and execution of the shell with a simple command like ...
    (comp.lang.c)
  • Re: Script Header
    ... > On a shell script, ... > You can TRY to execute a garbage file. ... > filename: Exec format error. ... - The shell will check whether this file has the executable flag set, ...
    (comp.unix.shell)