Computers, Programming, Technology

I wrote a bash script

<![CDATA[You may possibly have noticed the intermittent availability of the site during the last hour. Well I've been fiddling around trying to get my clever "restart Apache and MySQL if they crash" script working.

To that end, I did something unexpected: I wrote a shell script in bash. Not something I ever came close to trying before but it was surprisingly straightforward. The implicit availability of regular expressions everywhere definitely made things easier.

Have a look at this bash scripting guide for more info…

shell scripting, shell, scripting, sh, bash, UNIX, Linux, terminal, SSH, Apache, MySQL]]>

Advertisements

One thought on “I wrote a bash script

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s