Do you find yourself using 'ps aux | grep process' a lot? (or ps -ef | grep) 🧰 ...

@mboelen@mastodon.social

Do you find yourself using 'ps aux | grep process' a lot? (or ps -ef | grep)

🧰 Meet the process grepping tool: pgrep

🎯 You can use it to quickly find matching entries. By default it will show the process ID, but more information is possible, like the process name.

This command is part of the P family. So meet another one: pkill. It can be used to do the grepping and send a signal to processes 💣️

This tool is also available to most Linux distributions 🐧

#OpenBSD #BSDTips #Linux #terminal