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/


_______________________________________________
D-community-offtopic mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

Reply via email to