minus-squareI_like_cats@lemmy.onelinkfedilinkarrow-up11·1 year agoYou can do ps aux | grep -i <part of process name> and the PID is in the second column of the output. However for this use case I recommend a process manager like htop or btop
You can do
ps aux | grep -i <part of process name>
and the PID is in the second column of the output. However for this use case I recommend a process manager like htop or btop