How to kill apache process in linux?

In this article let’s discuss about How to kill apache process in linux?. Let’s go through the following methods without any delay.

Method 1:

sudo netstat -nap | grep :80
You’ll see apache2 and there is 3–4 digit numbers before it, mine is 980
sudo kill [number]

Hope the above solution works.

Realted Posts : How to update gitignore?