pidof

Gets the ID of a process using its name. List…

pidof

Gets the ID of a process using its name.

pidof {{bash}}

pidof -s {{bash}}

pidof -x {{script.py}}

kill "$(pidof {{name}})"

Также может быть вам интересно:
LinuxFreeBSDТрюки BashТерминал/Консоль
← picom pidstat →