LinuxQuestions.org
Help answer threads with 0 replies.
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 02-11-2013, 10:11 AM   #1
ctav01
LQ Newbie
 
Registered: Aug 2003
Location: Pleasanton, CA
Distribution: Gentoo
Posts: 23

Rep: Reputation: 0
Two terminals/two different shells?


Is it possible to have two terminals open with a different shell in each terminal? My system defaults to tcsh and I would rather not change it even temporarily but most online tutorials use bash so I'm hoping to be able to have a second terminal running bash for learning on. Thanks.
 
Old 02-11-2013, 10:20 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Yes. Just open a new terminal and run
Code:
/bin/bash -l
then you can run commands in a full bash environment. The
Code:
exit
statement makes you go back to the original tcsh.

Last edited by colucix; 02-11-2013 at 10:21 AM.
 
Old 02-11-2013, 10:35 AM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,688

Rep: Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259
Something like "xterm -e bash -l" will also do it. When you exit/logout the window will also be closed.
 
  


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
[SOLVED] all terminals (and only terminals) in xorg loading SLOWLY after upgrade (wheezy) pepperdreamteam Debian 2 02-03-2013 01:30 PM
[SOLVED] Can all shells read all environmental variables set by other shells? carlodelmundo Linux - Newbie 2 07-23-2010 02:03 PM
USB problem on linux terminals vie NComputing X300 terminals Aleks` Linux - General 1 12-04-2008 05:39 PM
Terminals - spying on local terminals with ssh BeatRyder Linux - Software 5 10-21-2004 01:47 AM
do I need all the shells? helpme0904 Fedora 6 10-01-2004 02:03 PM


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