minus-squareI_like_cats@lemmy.onelinkfedilinkarrow-up11·9 months agoYou can do ps aux | grep -i 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
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