Here is how you can list all the IP addresses set on a Linux box : Sample output :
Archive for April, 2010
Here is how you can get the HTTP status code of a URL : Sample output :
Small script to restart Apache if it's not running
Posted: 29th April 2010 by Valkyrka in apache, bashThis is a *very* small script which I wrote that checks if Apache is running and, if not, it starts Apache :