2 ms·
pgrep is a good habit, it's on every major unix except perhaps aix. Most other constructions can backfire in some unexpected way.
by xorcist 7y ago
pgrep is a good habit, it's on every major unix except perhaps aix.
Most other constructions can backfire in some unexpected way.
- JdeBP 7y agoNext you'll be telling people to use SIGHUP instead of SIGKILL. Or to use the PID. Or to get VIM to substitute its own PID into the ex command using getpid(). * https://mywiki.wooledge.org/ProcessManagement#The_risk_of_parsing_the_process_tree https://mywiki.wooledge.org/ProcessManagement#The_risk_of_pa...