LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-21-2002, 05:19 AM   #1
IBP
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Rep: Reputation: 0
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
 
Old 12-21-2002, 05:27 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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.
 
Old 12-21-2002, 05:52 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
'sh' shell - Actually calls legacy Bourne shell, or uses system default? Dtsazza Linux - Software 1 10-28-2005 09:20 AM
How to change the default shell to bash? shadkong Slackware 12 04-23-2005 03:49 PM
default shell aspargo Linux - Newbie 3 08-09-2004 03:38 AM
Konsole's default shell abs Debian 1 10-26-2003 10:15 PM
How to change default root shell fessin Linux - General 2 02-13-2003 11:25 PM


All times are GMT -5. The time now is 12:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration