Here you will find various scripts I have written. These scripts are released under the GPLv2 and come with no warranty of fitness for a particular purpose.
user_create.sh: is a script for adding users to a system. It assumes you are using Apache and ${HOME}/public_html for user homepages, and that ${USERS} get access to MySQL.
db_create.sh: is a script for creating a MySQL database (with no priv_*).
skel.sh: is a script for maintaining the same working enviroment over multiple hosts. It’s a reworking of the “skel.sh” from O’Reilly Unix Power Tools .. tough better. Please read the script for more details and setup instructions.
Shell Script Examples:
state_variables_example.sh: This is a piece of example code showing how to get user input and populate variables with this input. The code is fairly well commented and so it should be fairly simple for a begginer to figure out exactly what the script does.
ask_example.sh: This is a piece of example code showing how to ask a user a YES/NO question and in response execute a certain task based on that response. This example also shows the use of “functions”.

