Ok...maybe I'm being dense - I should have specified - I'm looking to set
up aliases in bash. For example, in my tcsh .login file, I have the
following:

alias lo 	logout

how would I do that in .bash_profile or .bash_login, etc? When I tried, it
didn't work.

Thanks,
Liz

On Wed, 22 Nov 2000, Clay Fandre wrote:

> Liz Burke-Scovill wrote:
> > 
> > I know I'd opt for the alias route - -
> > 
> > speaking of - something I've always wanted to know, but never got the
> > nerve to ask...I'm VERY familiar with editing the .login file for use on
> > csh, tcsh, etc...but what about bash? bash doesn't seem to operate the
> > same way and I'm so used to my customized environmnet in tcsh, it's about
> > the ONLY reason I haven't played much with bash. how do you set up alias's
> > there?
> > 
> > Thanks,
> > Liz
> > 
> 
> Use the .bash_login (or something)
> 
> >From the bash manpage:
>  On login (subject to the -noprofile option):
>                if /etc/profile exists, source it.
> 
>                if ~/.bash_profile exists, source it,
>                  else if ~/.bash_login exists, source it,
>                    else if ~/.profile exists, source it.
> 
>          On exit:
>                if ~/.bash_logout exists, source it.
> 
>        Non-login interactive shells:
>          On startup (subject to the -norc and -rcfile options):
>                if ~/.bashrc exists, source it.
> 
>        Non-interactive shells:
>          On startup:
>                if the environment variable ENV is non-null, expand
>                it and source the file it names, as if the command
>                        if [ "$ENV" ]; then . $ENV; fi
>                had been executed, but do not use PATH to search
>                for the pathname.  When not started in Posix mode, bash
>                looks for BASH_ENV before ENV.
> _______________________________________________
> tclug-list mailing list
> tclug-list at lists.real-time.com
> https://mailman.real-time.com/mailman/listinfo/tclug-list
> 

-- 
Imagination is intelligence having fun...
e-mail:  kethry at winternet.com
URL:  http://WWW.winternet.com/~kethry/index.html