Find the pid of a process by name
$ pidof [process_name] The pidof command is used find the process ID of a running program. Pidof finds the process id’s (pids) of the named programs. It prints those id’s on the standard output. By default the command will return/display all the instances of the pid of the process...
Install find-process as a CLI tool: $ npm install find-process -g Usage: Usage: find-process [options]<keyword>Options: -V, --version output the version number -t, --type<type>find process by keywordtype(pid|port|name) -p, --port find process by port -h, --help output usage inf...