Bash
To get pids by name, use
pgrep
instead ofps | grep
E.g.
pgrep -i expressvpn
It will exclude your own grep process.
Last updated
To get pids by name, use pgrep
instead of ps | grep
E.g. pgrep -i expressvpn
It will exclude your own grep process.
Last updated