SyntaxFix
Write A Post
Hire A Developer
Questions
echo $$ # Gives the Parent Process ID ps -ef | grep $$ | awk '{print $8}' # Use the PID to see what the process is.
From How do you know what your current shell is?.