I promised some #Linux tips so here is the first one:
* AVOID USING SHELL SCRIPTS*
1. It is the matter of time when is will stop working. The point is that your script relies on some system state (files, programs, etc.), but it will change with an update. There is no more `ifconfig` for example.
2. The scripting language is ugly by itself. I can't remember how to write simple IF that checks command output. And error handling is a mess.
What instead? Stay tuned!