LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-10-2013, 01:22 AM   #1
trainreq
LQ Newbie
 
Registered: Jan 2013
Posts: 1

Rep: Reputation: Disabled
Opening a shell spawns infinite instances of it


Hello LinuxQuestions.org,

I've been messing with the chsh command so that I could change the name displayed in my shell before each command is issued, for example trainreq@ubuntu:$. My problem arose when I gave the command 'chsh -s /bin/ksh trainreq', not fully knowing what the results would be. Among this command, I also used 'grep ksh /etc/shells/'. Now, any time I try to open a terminal, be it bash, dash, sh or urxvt, it either just doesn't open or starts spawning instances of urxvt until it has so many open, the computer hangs and then the instances are all closed.

What exactly did I screw up? I really would prefer not having to reinstall, but I can't use Linux without a command line, which I'm sure you guys can sympathize with.

I hope your expertise can aid me in this. Thanks for your time.
 
Old 01-10-2013, 02:50 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
I do not know what have you really made, so just a tip:
your shell has a startup file .cshrc, .bashrc or something similar in your home. That contains some strange lines. You can safely rename those files (and login again) to check if it was true - and rename back to the original afterward.
 
  


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
Shell infinite loop hell binarybob0001 Programming 5 11-03-2007 11:54 AM
Multiple Instances When Opening Outlook Think_UNIX Linux - Software 1 10-03-2007 02:24 AM
Opening multiple instances of Seamonkey from the command line? vonst Linux - Software 3 01-20-2007 03:33 PM
Multiple instances opening, causing trouble mattp Linux - Software 1 10-16-2005 11:09 PM
KDE 3.3 spawns infinite Konqueror windows tisource Linux - Software 0 01-16-2005 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:56 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