Results 1 to 2 of 2
Is there any way of finding the currently spawned shell by user.
echo $SHELL gives the defualt shell.
Accessing the /proc system is time consuming(parent id, then child id and ...
- 10-27-2007 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 15
Identifying shells
Is there any way of finding the currently spawned shell by user.
echo $SHELL gives the defualt shell.
Accessing the /proc system is time consuming(parent id, then child id and then searching for bash/csh etc)
- 10-27-2007 #2Linux Engineer
- Join Date
- Apr 2006
- Location
- Saint Paul, MN, USA / CentOS, Debian, Solaris, SuSE
- Posts
- 1,117
Hi.
See Determining the current shell - JustLinux Forums for a few posts on the subject ... cheers, drlWelcome - get the most out of the forum by reading forum basics and guidelines: click here.
90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
We look forward to helping you with the challenge of the other 10%.
( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )


Reply With Quote