Alwanza dot net homepage link Scripts and Applications -> Script Library
Pings each IP address in a subnet and reports if it responds or not. It writes a report to an output file.
Consecutively logs in (as a user) to multiple remote servers and backs up the rpm database.  Useful to run before running rpm upates.
A script run locally by root (or root cron) to backup the rpm database for precautionary rollback.
A script run locally by root (or root cron) to backup the dpkg database for precautionary rollback.
I've lost count of the number of times I was told to administer and maintain a server when no documentation was provided to me about what was installed on that server, who the users were, or what the server's purpose was.  I created a script to help me figure those things out.
Same as above, for ubuntu.
Run this script before and after changes to the system, before and after reboots, and compare the output to determine if everything that was running before has been turned back on after the change.
Sort /etc/services by numeric order.  Run script as unprivileged user, then visually evaluate the output and make changes as needed using sudo or root.  Helpful to find out stuff like:  your printer is interfering with your backups.
A script to detect users using resources on a Linux system.
A script to add a user login account on a Linux system, including primary and secondary groups.
A script to decommission a user account on a Linux system.
A script to capture user password statistics from chage command into a file.
A perl script to expire user passwords, thereby forcing them to create new passwords at next login.
A script to set an ldap password for a user already existing in ldap database in the ou "People".
Run this script through cron to send yourself email or text messages when your server partitions or mounts are too full.
An Expect Perl script to gather ntp information from remote servers.
A script that removes empty lines and comment lines before performing a diff comparision on two files.
A bash script to automatically move files from a source directory to a destination directory.  Written so it can run in cron.
An Expect Perl script to copy a file to remote hosts.
An Expect Perl script to use ssh to access remote hosts and run commands or scripts local to the host, with or without sudo.
A collection of commands for dgetting and setting date and time.
A script run locally on cron to detect high temperatures on the server. Sends email notification. Requires that lm_sensors are installed on server.
A script run locally on cron to record time of completion of a long duration process.
A script skeleton example of modifying Windows permissions using Perl.
A script skeleton example of mapping and mounting a drive in Windows and copying a file from the mounted drive using Perl.
Helpful for debugging long perl or cgi scripts.
Add a debug line for each subroutine in a cgi script.
Replace a variable or string globally in all files in directory at once.
Remove illegal characters from filenames to prepare them for tar backups, bash script.
Remove illegal characters from filenames to prepare them for tar backups.  More comprehensive, in Perl.
Using tar, make a tape backup.
You input an absolute path to a directory and the number representing the maximum age in days of the files you want and this script spits out a list of all the files newer than that date limit in the target directory.  Output goes to both screen and log file.
A perl script that uses Net::SSH::Expect to login to remote servers and return their openssl version information to a csv file.
A single line command displays CPU stats. Add a crontab entry that checks every 20 minutes and rotating logging.
Keys and permissions on ssh
rsync backup - suitable for cron
Setting up a Cygwin environment.
Different background colors for mintty terminals.
Little reminders of handy commands.
Little reminders of handy commands.
reuseable pieces of scripting code.
Keep one on hand for breaking into and modifying file systems.
How to modify a filesystem after you have made a mistake that locks you out, provided you have access to the hardware.
Steps to ensure functionalty is retained after an upgrade