[Ilugc] changing shell and finding it

Naveen Kumar naveenezone at rediffmail.com
Fri Jun 23 04:17:03 IST 2006

Right way to change the shell is to supply exec bash instead of simply bash. There is a slight difference 

simply supplying bash will invoke a new shell with a new process id 
but if you give exec bash it will open the new bash shell with the same process id.

Naveen R


On Thu, 22 Jun 2006 benjamin  wrote :
>I think his question is,  after getting into  bash shell by typing bash,
>why does echo $SHELL still shows csh, his   login shell? Given that, how do
>I find out which shell  am I in?
>To unsubscribe, email ilugc-request at ae.iitm.ac.in with "unsubscribe <password> <address>"
>in the subject or body of the message.  http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

More information about the ilugc mailing list