LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-11-2007, 01:11 AM   #1
jaykup
Member
 
Registered: Jan 2006
Location: Mukwonago, WI
Distribution: Slackware 12
Posts: 77

Rep: Reputation: 16
Shell won't change!


Somehow, playing around with things I've changed my shell to something other than bash. When I get back into bash "bash -l" and type:

Code:
% bash -l
$ echo $SHELL
/usr/bin/wish
$ export SHELL=/bin/bash
$ echo $SHELL
/bin/bash
Then close the terminal open it back up

Code:
% echo $SHELL
can't read "SHELL": no such variable
% bash -l
$ echo $SHELL
/usr/bin/wish
I can't find wish in /etc/profile, I've used chsh, and usermod -s. All with no luck. I don't understand. Why is it defaulting back to wish???
 
Old 05-11-2007, 02:27 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
After you used chsh did you log out completely from your session and log in again? chsh changes the value of your shell in /etc/passwd - it doesn't change the currently running shell.
 
Old 05-11-2007, 08:20 AM   #3
jaykup
Member
 
Registered: Jan 2006
Location: Mukwonago, WI
Distribution: Slackware 12
Posts: 77

Original Poster
Rep: Reputation: 16
Thanks, I didn't logout of the windows manager. Duh!
 
  


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
How to change shell to ksh rajeshsfo Linux - Software 3 08-14-2006 03:01 PM
change the shell prompt ust Linux - Distributions 5 04-28-2005 04:26 PM
shell script + change shell && continue darkRoom Programming 6 02-25-2005 03:50 AM
Change shell language linmix Linux - Software 9 07-26-2004 01:45 PM
I think this turtle needs a change of shell caleb star Linux - Newbie 1 03-22-2004 09:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration