How to show how many times bash has been invoked?
96052
How can I detect if I'm in a subshell?
86648
How to get the number of processes waiting for CPU on Linux?
17649
Is there a way to check if a file is in use?
71400
Order of executables started in bash
145543
Bash way to check if a process is already running in the background (and skip re-execution based on that)?
137483
How to get number of rows affected, while executing MySQL query from bash?
4400
Emulating a do-while loop in Bash
21150
How to see how many context switches a process makes?
65449
How to get the pid of the last executed command in shell script?
77646
How do I ensure a piece of code runs only once?
3910
How can I remove duplicates in my .bash_history, preserving order?
158329
How to limit number of threads/sub-processes used in a function in bash
85723
How can the last command's wall time be put in the Bash prompt?
52383
How to stop Bash appending history
157283
How to keep Bash running after command execution?
125468
Why does bash show 'Terminated' after killing a process?
7431
How does ${!#} work in bash to get the last command-line argument?