Results 1 to 1 of 1
Dear Linux Experts:
I am using 64 bit OpenSuSE 10.2. I created 3 users. Default shell is bash.
One of the users, I changed shell to /bin/csh using YAST2. When ...
- 12-28-2007 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 96
how to change from bash to csh?
Dear Linux Experts:
I am using 64 bit OpenSuSE 10.2. I created 3 users. Default shell is bash.
One of the users, I changed shell to /bin/csh using YAST2. When logging on to that user account, I typed "echo $SHELL" and got /bin/csh. So, it looks like, the shell has changed. But, when I tried to executed some shell commands, I got errors like:
bash: setenv: command not found
bash: setenv: command not found
bash: setenv: command not found
bash: setenv: command not found
bash: setenv: command not found
bash: .OpenFOAM-1.4.1-dev/cshrc: line 120: syntax error near unexpected token `else'
bash: .OpenFOAM-1.4.1-dev/cshrc: line 120: ` else if ($processor == ia64) then'
------------------
So, it looks like the shell is still bash. What did I do wrong? Do I need to reboot the system to take effect? Or. do I need to change to csh for all users + root?
Thanks!
Phsieh2005


Reply With Quote