Here are some shell scripts I've written:
apt-up.sh - shell script that waits 10
min for a user to log into a Debian/Ubuntu system then proceeds to
update the system via the apt-get package manager if no one logs in,
finishing with a system shutdown
tf2server01-bup.bash - bash
script to tarball, encrypt, and upload a back-up of a game
server
fedup-swagg.sh - shell script to
upgrade Fedora releases
yum-up.sh - shell script to update
system via yum package manager and email me if a (service) restart
is required
stripe-cache-sizer.sh -
small shell script with a simple for-loop that sets the stripe cache
size on an mdraid array
Warranty: If my script breaks your system, you get to keep both pieces.