|
Home > Archive > Red Hat Installation > September 2005 > alias and .bash_profile - in fedora core 4 and bash
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
alias and .bash_profile - in fedora core 4 and bash
|
|
|
| why can I add an alias to .bashrc, but not to .bash_profile? fedora core
4, bash shell. TIA
| |
| Bit Twister 2005-09-27, 8:50 pm |
| On Tue, 27 Sep 2005 20:14:09 -0500, Bob wrote:
> why can I add an alias to .bashrc, but not to .bash_profile? fedora core
> 4, bash shell. TIA
profile runs only during login
bashrc runs on each session
| |
|
| "Bit Twister" <BitTwister@mouse-potato.com> wrote in message
news:slrndjjs67.flb.BitTwister@wb.home.invalid...
> On Tue, 27 Sep 2005 20:14:09 -0500, Bob wrote:
>
> profile runs only during login
> bashrc runs on each session
so if I add an alias to profile, on logout and login it, the alias should
be there, correct ?
do you have source where this is documented ? thanks
| |
| Bit Twister 2005-09-28, 2:50 am |
| On Tue, 27 Sep 2005 21:59:37 -0500, Bob wrote:
> "Bit Twister" <BitTwister@mouse-potato.com> wrote in message
> news:slrndjjs67.flb.BitTwister@wb.home.invalid...
>
> so if I add an alias to profile, on logout and login it, the alias should
> be there, correct ?
The login session, yes, Clickup a terminal or xterm no.
> do you have source where this is documented ? thanks
man bash
| |
|
| "Bit Twister" <BitTwister@mouse-potato.com> wrote in message
news:slrndjk4fk.h70.BitTwister@wb.home.invalid...
> On Tue, 27 Sep 2005 21:59:37 -0500, Bob wrote:
>
> The login session, yes, Clickup a terminal or xterm no.
>
>
> man bash
Thanks
|
|
|
|
|