![]() However sometimes a shell script isn’t exactly the right venue for your client’s project because there need to be some sort of interaction. Obviously if you can write a script to perform a specific function or tasks automatically then the client does not have to really get involved. In stead I would like discuss some advanced scripting topics. Be that as it may I am not here to tout the merits of shell programming with bash. ![]() Advanced shell scripting especially in bash is almost always a learning experience, but one that I think is absolutely essential to better understanding the system architecture. ![]() I know many out there are turned off by the simplicity of bash and will immediately jump into perl, python, ruby or even php but I honestly feel that you are overlooking elegance of bash’s simple design. Meaning that I did not want to edit the script every time someone added another database. However since I only wanted to write the script once and crontab is I wrote the script to be somewhat adaptive. MSBU was a simple bash shell script that basically simplified backing up of my web servers‘ MySql databases. In fact one of the first open source applications I published back in 1998 was MySqlBackUp. I have been writing scripts to help manage the systems I administer for a very long time now.
0 Comments
Leave a Reply. |