How do I find the process ID in Linux?

Daniel William

New member
How do I find the process ID in Linux?
Answer
Procedure to find process by name on Linux
  • Open the terminal application.
  • Type the pidof command as follows to find PID for firefox process: pidof firefox.
  • Or use the ps command along with grep command as follows: ps aux | grep -i firefox.
  • To look up or signal processes based on name use:
 

Tìm kiếm

Back
Top