Changing the default Shell from bash to csh & Aliases file.
taalebi at ai.mit.edu
taalebi at ai.mit.edu
Tue Feb 25 02:25:20 EST 2003
Bash is currently the default shell running in my
RedHat Linux 7.2
environment. I have two questions:
1. How can I make the C-Shell the default shell instead?
I can change my shell manually by typing "csh" in each "bash" session
but I would like to make this change permanent.
2. I have a set of aliases for long command lines which I like ot have
them automatically sourced when I login.
Currently I manually do it from a bash shell by running:
csh
source <myAliasesFile>
What should I call this file and where should I put it in order to
have it automatically sourced in bash and/or csh shells?
I have tried .aliases but it did not work!
Your hints and insights will be appreciated.
Thanks.
a.
More information about the Discuss
mailing list