Want to easily find and work on specific processes in top or htop? 🔎 Let's say you need to check on your nginx processes or keep an eye on firefox. Try:
htop -p "$(pgrep -d, nginx)"
top -p "$(pgrep -i -d, firefox)"
This trick uses pgrep to grab the process IDs and feeds them directly to top or htop. See https://www.cyberciti.biz/faq/linux-find-process-name/ and https://www.cyberciti.biz/faq/show-all-running-processes-in-linux/ for more info and examples.