command to run another shell on top of your default shell? | Unix Linux Forums | UNIX Desktop for Dummies Questions & Answers

  Go Back    


UNIX Desktop for Dummies Questions & Answers Discuss UNIX and Linux user interfaces like GNOME, KDE, CDE, and Open Office here. All UNIX and Linux Newbies Welcome !!

command to run another shell on top of your default shell?

UNIX Desktop for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-08-2012
Bill Thompson Bill Thompson is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 9 October 2012, 5:16 PM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb command to run another shell on top of your default shell?

Can someone point me to the right command to to run another shell on top of your default shell?

Thanks

PS If admin sees this It is not home work. I am old man who wants to learn unix in my spare time. I CURRENTLY DO NOT GO SCHOOL, COLLEGE OR UNIVERSITY.
Sponsored Links
    #2  
Old 10-08-2012
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 31 August 2014, 5:38 PM EDT
Location: NM
Posts: 10,180
Thanks: 275
Thanked 785 Times in 734 Posts
After you login, # preceed comments and are not commands you enter.

Code:
# to get the bash shell
/bin/bash
# to get the ksh shel
/bin/ksh

When you want to quit, you will be down inside a second shell. So that means
you next to type exit <return> exit <return>. The first exit gets you out of your preferred shell, the second one gets you out of unix.
Sponsored Links
    #3  
Old 10-08-2012
Bill Thompson Bill Thompson is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 9 October 2012, 5:16 PM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by jim mcnamara View Post
After you login, # preceed comments and are not commands you enter.

Code:
# to get the bash shell
/bin/bash
# to get the ksh shel
/bin/ksh

When you want to quit, you will be down inside a second shell. So that means
you next to type exit <return> exit <return>. The first exit gets you out of your preferred shell, the second one gets you out of unix.

Thank you.

Can i ask you one last question.

Lets say my default shell is bash and then i load up csh and then ksh. How would i exit csh without exiting ksh?

so basically i gone from bash > csh > ksh and i wish to close csh

Moderator's Comments:
edit by bakunin: You have asked the same question already here.

Do not post the same question twice. Thraed closed.

Last edited by bakunin; 10-10-2012 at 05:47 AM..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Any shell or hack that makes the shell command line take vi commands? marqul Shell Programming and Scripting 3 05-31-2012 10:05 AM
Shell script running command in different shell gr8_usk Shell Programming and Scripting 9 05-23-2011 06:30 PM
Need to Write Shell Script based off of this shell command Rally_Point Shell Programming and Scripting 3 06-10-2009 05:19 PM
How to Start a Shell as Login shell instead of ordinary shell Sivaswami Linux 3 07-01-2008 01:52 PM
How to run a command in shell 'A' from shell 'B' rakabarp UNIX for Dummies Questions & Answers 1 09-29-2004 03:15 AM



All times are GMT -4. The time now is 05:07 PM.