This article introduces how to check and kill processes in Bash language on Linux computer and server command lines.
# confirm
ps aux | grep firefox
# kill
kill 1234
sudo killall autokey
kill -9 <pid>
Like this, check with the ps command and kill with the kill command.