1833866 Members
2522 Online
110063 Solutions
New Discussion

Re: Shell

 
Bhushi
Advisor

Shell

How we can jump form one shell to other in HP

regds
Bhushan
6 REPLIES 6
Torsten.
Acclaimed Contributor

Re: Shell

What do you mean by "jump"?

Do you know
tsm - Terminal Session Manager?

man tsm

Remember to read

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Oviwan
Honored Contributor

Re: Shell

Hey

if you are in sh you can type ksh then you will be in ksh-Shell and so one if you mean that.

with "echo $0" you can see the current shell.

Regards
Bhushi
Advisor

Re: Shell

if we want to go in posix shell then what we have to do?
Oviwan
Honored Contributor

Re: Shell

type "sh" for the current session

you can set the default shell in /etc/passwd.
man passwd

don't forget to assign points also in your other threads
Bill Hassell
Honored Contributor

Re: Shell

All the shells are just programs. If your login uses ksh, then type sh and you'll now be running the POSIX shell. NOTE: this does not change your default login shell. You are just interacting with another shell. You must exit from the new shell to get back to your previous shell.

Now if what you want is to change your default login shell, just use the chsh command like this:

chsh my_login /usr/bin/ksh

or whatever shell you would like to use that is currently installed.


Bill Hassell, sysadmin
Dennis Handly
Acclaimed Contributor

Re: Shell

Besides invoking a shell as a process, you can also exec another shell. The previous shell process will no longer exist.