The pgrep command
look up, signal, or wait for processes based on name and other attributes 1 example from the lessons of the IVski Linux Playground — try them in the terminal next to them.
Examples
pgrep nginxJust the PIDs
pgrep commandlook up, signal, or wait for processes based on name and other attributes 1 example from the lessons of the IVski Linux Playground — try them in the terminal next to them.
pgrep nginxJust the PIDs