Red Hat Installation - alias and .bash_profile - in fedora core 4 and bash

This is Interesting: Free IT Magazines  
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
Bob

2005-09-27, 8:50 pm

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
Bob

2005-09-28, 2:50 am

"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
Bob

2005-09-28, 7:58 am

"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


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com