Question by Ivan A: What is the linux command to obtain the PID number of a specific program running?
I’m tired to use the “top” and search around for the PID of a program that I know is running on a remote terminal, left open by someone else, and that I want to kill. I wonder if there is a linux command that would return the PID of only that program.
Best answer:
Answer by PleaseInsertACoin
ps aux | grep processname
or
pidof processname
What do you think? Answer below!












