Updated SC2009 (markdown)

Eisuke Kawashima
2025-07-29 10:29:39 +09:00
parent a011428feb
commit dfad78728f

@@ -18,7 +18,7 @@ If you are just after a pid from a running program, then pgrep is a much safer a
If you want a field that's not the pid, consider doing this through `ps` + `pgrep` instead of `ps` + `grep`:
```
```sh
for pid in $(pgrep '^python$')
do
user=$(ps -o user= -p "$pid")