linux command to get the pid of a process code example
Example: ubuntu get pid of process
#to search for pid
ps ax | grep firefox
#and to kill it run
sudo kill -9 THE_PID_NUMBER
#to search for pid
ps ax | grep firefox
#and to kill it run
sudo kill -9 THE_PID_NUMBER