is there a way to find out what shell i am currently on (other than
using "top" and looking up)
Mahurshi Akilla
Mahurshi Akilla
> Mahurshi Akilla
Ed.
> Mahurshi Akilla
--
BOFH excuse #355:
Boredom in the Kernel.
> > is there a way to find out what shell i am currently on (other than
> > using "top" and looking up)
> > Mahurshi Akilla
> echo "$SHELL"
barmar $ ps -p $$
PID TT STAT TIME COMMAND
1587 p1 Ss 0:00.06 /bin/bash --noediting -i
barmar $ ksh
$ echo $SHELL
/bin/bash
$ ps -p $$
PID TT STAT TIME COMMAND
2244 p1 S 0:00.04 ksh
$
--
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
ps $$Quote:>is there a way to find out what shell i am currently on (other than
>using "top" and looking up)
>Mahurshi Akilla
-=[cwa]=-
1. How can I find out what version of Apache I am currently running?
2. Firewall, masquerade, etc...
3. how to tell what init level i am currently on
4. "Account" field in Linux Gnome's gftp ???
5. How to find out application that send outs packets on certain port
6. Kayak XU 6/300 worth buying for linux?
7. how to find which process currently using specific port?
8. How can I make my numkeys work in PC keaboard?
9. How do I detect which shell (ksh, bash, csh, zsh, tcsh) is currently used?
10. shell script: how to get *directory* of currently script?
11. Finding list of users currently logged on to the system
12. How to find other copies of same shell script running inside shell?
13. finding/execing a shell with shell functions?