rwx/sh/alias/pgrep.sh
2024-11-18 18:41:28 +01:00

7 lines
80 B
Bash

# look for a string in processes names
pg() {
ps \
-A |
grep \
"${@}"
}