Function for bash_profile to test your websites

This is a simple, adjustable function you can put in your bash_profile to test if your websites give the right http status:

The rusult will be as simple as:

 

And even better, the script below gives a green output for 200 red for the rest