Warum wird ~/.bash_profile nicht gelesen?
Thilo Six
T.Six at gmx.de
Son Jul 2 19:23:10 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Heike C. Zimmerer wrote the following on 02.07.2006 19:46:
<snip>
> Die Shell immer als Login-Shell aufzurufen (wie auch vorgeschlagen
> wurde), nur weil man seine Initialisierungen nicht in die richtige
> Datei geschrieben hat, halte ich dagegen für keine so gute Idee.
Warum soll das keine gute Idee sein?
man bash:
===================================================================
When bash is invoked as an interactive login shell, or as a
non-interactive shell with the --login option, it first reads and
executes commands from the file /etc/profile, if that file exists.
After reading that file, it looks for ~/.bash_profile, ~/.bash_login,
and ~/.profile, in that order, and reads and executes commands from the
first one that exists and is readable. The --noprofile option may
be used when the shell is started to inhibit this behavior.
When a login shell exits, bash reads and executes commands from the
file ~/.bash_logout, if it exists.
===================================================================
??
bitte klär mich auf.
MfG Thilo
- --
i am on Ubuntu 2.6 KDE
- - some friend of mine
gpg key: Ox4A411E09
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEqA8NgkdHiUpBHgkRA+sZAKCNQ1q043eUcc7SSzDQgWDf81lIwgCfeEQZ
cF1dLuoVg93rPKqFsgETfh0=
=aWYf
-----END PGP SIGNATURE-----