sh/sh/alias/pgrep.sh
2024-11-19 14:42:11 +01:00

7 lines
122 B
Bash

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