Home  »  CodeSnippetsTechnologyTools   »   How to Kill Apache Process in Linux

How to Kill Apache Process in Linux

Posted: March 9, 2022 | by Site Host

Code to kill Apache process in Linux.

$ sudo netstat -nap | grep :80

You will see apache2 as well as a three to a four-digit number before it eg, 920.

$ sudo kill [number]

Found this article interesting? Follow Brightwhiz on Facebook, Twitter, and YouTube to read and watch more content we post.

Share it!

See also  MySQL Show Table Character Set