[D-community-offtopic] finding the depth of the current shell
Kamaraju S Kusumanchi
raju.mailinglists at gmail.com
Fri May 6 03:22:56 UTC 2011
Inside a konsole running bash shell, If I do
$ # initial konsole prompt
$ bash # spawn a new shell
$ bash # spawn third shell
$ bash # spawn fourth shell
Now is there any command which tells that the current shell's "depth" is 4
as in it has three "parent shells"?
thanks
raju
--
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/
More information about the D-community-offtopic
mailing list