|
First, why do you need bash or tcsh?
The answer is they are convenient: you can use arrow keys to repeat
what you have typed before and edit the command lines for your next need.
Second, you should know what shell you are running by typing
ps
You will see a list of the processes, such as
PID TTY TIME CMD
3401 ttyq8 0:00 csh
3462 ttyq8 0:00 ps
If csh is on the list, your are running
csh.
Now you know the shell is not what you want. Here are your choices:
-
Start your email program, compose an email to root
(only one word root, this will send an email to the root of the machine you are using)
and tell him to set your login shell to bash or tcsh.
-
ONLY IF the root ignores your request, you can ``change'' your login shell yourself
by putting following line at the end of
~/.login file
exec bash
(Or exec tcsh for tcsh)
|