To scratch a frequently encountered itch, namely mounting and unmounting Truecrypt volumes on USB keys and external drives on a number of systems in a day, I wrote a shell script that automates the command line arguments that I use most often as well as making it simpler to assume root privileges to do so. The script is designed to be kept on the key along with the encrypted datastore, though it could also be placed on each system in a publically accessible location (such as /usr/local/bin)
The script assumes that it'll be run on a UNIX (-alike …
From time to time I find the need to build .iso images of files that have to be burned to CD-ROM disks for storage or transport. However, the CDRtools, while powerful, can be unweildly to work with because of the large number of command line options that each one offers. They can be downright confusing to keep straight in a hurry, which is why I put the most commonly used options for mkisofs into a simple shell script to help speed up the process. You run it like so:
This is a shell script for OpenBSD that will automatically update the source tree for your systemware as well as the ports collection from a public CVS server. This file must be edited to configure the $CVSROOT variable as well as the branch of OpenBSD that you're following (for example, OPENBSD_3_8). It must be run as root, and I'm too busy right now to add a check to make sure that the user running it has root privileges. Use your brain: Put it in /root, mode 0700.
Here's a shell script that makes it simple to burn DVDs on a *nix machine. Requires cdrtools v2.00.0 or greater and a reasonably up-to-date set of dvd+rw-tools. I use v5.19-1.4.9.7 on Leandra. Make it executable with the command chmod 0755 /path/to/burn_dvd and invoke it with burn_dvd /dev/dvd_burner /path/to/files-to-burn.or-iso-image. I've only tested it as root. If this script blows up in your face, it's not my fault or my problem. The script will output usage information if you don't supply any command-line arguments and is well-commented.