Technotes for future me


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 31 Jan 2021
Published on 21 Apr 2020
Edit on GitHub