Engine23
blogBannerImage
By Engine23

Remembering Apache Restart Command

First off the command to restart Apache2 is:

sudo apachectl -k restart

You can only lookup the command so many times before figuring out a way to remember it. I decided to try to figure out what apachectl was. I found that apachectl is not even Apache2, it's actually a controller for it, or apache controller, or apache ctl .... apachectl. Hopefully it's a bit easier to remember to call the apache controller than apache gobbly goop of letters.