rwx/sh/alias/pgrep.sh
2024-11-18 18:43:16 +01:00

7 lines
128 B
Bash

# look for a string in processes names
pg() { sh_a__proc_grep "${@}"; }
sh_a__proc_grep() {
pgrep \
--list-full \
"${@}"
}