Solving some quirks of ps, grep, and pgrep
Some tricks for avoiding self-matches when using `ps`, `grep`, or `pgrep` to check whether a process is running.
Series
2 posts
Some tricks for avoiding self-matches when using `ps`, `grep`, or `pgrep` to check whether a process is running.
A little useful trick for making the input / output of a command act as a temporary file into a larger command.