LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 12: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, 01:27 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
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, 07: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



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

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

All times are GMT -5. The time now is 03:01 PM.

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
Open Source Consulting | Domain Registration