Technotes

Technotes for future me

Killall

To kill all Nginx Processes

kill $(ps aux | grep '[n]ginx' | awk '{print $2}')

You can kill any other type of processes as well. Just make sure you replace [p]hp with name of that process. Remember to keep first letter in bracket.

Last updated on 15 Dec 2025
Published on 21 Apr 2020
Edit on GitHub