How do I find the PID of the current instance of the Bash shell i'm using?
137379
How to get the PID of my script?
27504
How can I find my public IP using the terminal?
63212
How to calculate the CPU usage of a process by PID in Linux from C?
65718
What's the terminal command for finding out a process's id
106632
bash history for current session
83942
Get PID of any command in backgrounded piped sequence of commands
144952
How to make sure only one instance of a bash script runs?
103812
How to see the command attached to a bash alias?
28622
Finding current executable's path without /proc/self/exe
144996
How do I get the path my script is running in?
4162
How can I get the source directory of a Bash script from within the script itself?
6081
How do I switch from an unknown shell to bash?
30164
How to get pid of just started process
40546
How to identify a process which has no pid?
39178
How to get pid given the process name
119181
How to debug bash script?
19553
Detect init system using the shell