Roger wrote:
If you want the PID of the current shell process, use $$ instead.Yes I do. It's only me on this computer, unless you're speculating on prioritizing a snooper. :-O
This is (in this context) not related to the number pf "bash" processes running. Not at all.
-- Be conservative in what you do, be liberal in what you accept from others. - jbp, master of the net, in RFC793