What is the terminal command for figuring out a process is id
The command to figure out a process is id (offered its name) is
pidof. Nonetheless given that your purpose is to eliminate the process, there are better/easier means than making use of
pidof to locate its pid first:
Assuming the process you intend to eliminate is distinctly recognized by its name (or you intend to eliminate all the procedures with that said name), you do not require to recognize its pid. You can merely do
If there are numerous procedures with the very same name, yet you just intend to eliminate among them, making use of
pidof will not aid you a lot, due to the fact that it will certainly offer you the pids, yet it will not offer you any kind of details to establish which of the pids comes from the process you in fact intend to eliminate.
In this instance you can do
ps aux | grep processname which will certainly reveals all procedures with the offered name along with the console they are working on (if relevant) and also the debates they were conjured up with, which with any luck permits you to recognize the process you are seeking.
If the process opened up any kind of X - home windows, you can additionally make use of
xkill to eliminate (invoke
xkill and afterwards click the window).