Re: Question: For each instance of a shell, which do I modify to get permiamnt results??.profile,bash.profile?
From: Alan Connor (zzzzzz_at_xxx.yyy)
Date: 10/30/03
- Previous message: Mike: "configure XTERM"
- In reply to: Sputz Yadoo: "Question: For each instance of a shell, which do I modify to get permiamnt results??.profile,bash.profile?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Oct 2003 05:29:03 GMT
On Thu, 30 Oct 2003 04:50:07 GMT, Sputz Yadoo <Sputz@Daytona.com> wrote:
>
>
> Each time my shell starts an instance, I thought it uses a copy of
> bash.profile in the users home directory and rename it " .profile"
> this is where I make all alias's permanant, set additional paths like
> % PATH="$PATH:" /BLAW/BLAW/BLAW.
> Thanks for the help!!
> trudy
On my box, the ~/.bash_profile has this script:
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
Only the umask and command to bring up screen (the 'window' manager)
are there.
It's for the login shell.
Everything else is in ~/.bashrc, including all the environmental variables
I want for every instance and subshell.
export Mail=/var/spool/mail/me
and so forth.
There is also /etc/profile, /etc/bash.bashrc, and /etc/login.defs for
global stuff, which is usually overridden by local rc files.
--
Alan C this post ends with w
q
- Previous message: Mike: "configure XTERM"
- In reply to: Sputz Yadoo: "Question: For each instance of a shell, which do I modify to get permiamnt results??.profile,bash.profile?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|