rwx/sh/alias/pgrep.sh

8 lines
122 B
Bash
Raw Normal View History

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