LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   default shell (https://www.linuxquestions.org/questions/linux-newbie-8/default-shell-39026/)

IBP 12-21-2002 05:19 AM

default shell
 
I am running redhat 8, I am completely new to linux, and I'd like to know more about shells.
I am used to using csh on unix, and would like to change my default shell in linux from bash to csh. As far as I can see, bash seems to offer less functionality than csh - I have been trying to find out how to do 'setenv' in bash for a couple of days before someone on this site said you couldn't do it.

So, my questions are:

How do I change my default shell to csh?
There must be some advantage to bash, otherwise it wouldn't be there, what is it?

Cheers

acid_kewpie 12-21-2002 05:27 AM

you can change your shell wusing "chsh csh", but bash is generally more compelte than csh i think, bash doesn't have a setenv command as it doesn't need one.

VAR=value

is all you need to do.

whansard 12-21-2002 05:52 AM

you can edit the /etc/passwd file
don't hose it, or you wont be able to log in.

also with the kde user manager. thats safer.


All times are GMT -5. The time now is 04:57 AM.