Utilities for the Unix command-line or cron jobs

NameSizeLast modifiedDescription
../ [DIR]27-May-2013 15:01Joe Smith's useful scripts
Tail.pl 1K29-Aug-2008 00:13Uses File::Tail to monitor a log file that gets renamed.
bigben 2K01-Feb-2008 23:40Outputs the date or other string every 5 minutes to keep circuit up.
copy-logs 8K17-Nov-2008 23:05Run by root to copy various log files for 'reporter' to send to HQ.
df-h 2K12-Nov-2008 01:40Puts logical volume names on same line for 'df -h'
df-i 3K06-Dec-2006 01:11Combines the output of "df" and "df -i" so show number of blocks
disk-parts 10K02-Mar-2008 08:21Produces a concise summary of all disk partitions.
disk-usage 2K21-Nov-2008 07:56Creates a summary of disk usage on locally mounted disks.
dup.asm 1K25-May-1994 21:44Duplicates a directory structure, including hard and soft links
dup.cpio 1K10-Aug-1989 19:32ASCII text
dup.dump 1K16-Nov-2006 08:09Bourne shell script text executable
dup.ln 3K22-Oct-1998 00:25Recursively links files from one directory to another
dup.mv 6K08-Jan-2007 22:41Recursively moves directories from one disk partition to another
dup.restore 1K22-Oct-1997 00:17Bourne shell script text executable
dup.tar 1K17-Aug-2000 20:03Duplicates a directory structure, including hard and soft links
dup.ufsdump 1K08-Jan-2004 01:40Bourne shell script text executable
etherbits 3K23-Nov-2006 02:47a /usr/bin/perl -w script text executable
filesize 1K05-Aug-2005 23:40Displays a file's size in KB, MB, GB and hex
lastlog-rpt 7K12-Dec-2008 19:05Provides a list of who has not logged in for a while.
link-same 3K11-Oct-2007 00:41Create hard links for files with same content
linux-release 1K20-Nov-2008 03:36Returns release version for Linux
list-forwards 2K30-Nov-2004 04:13Displays where e-mail is being forwarded to.
lsf 19K08-Sep-2006 00:31Creates a list of files and their attributes.
lsf-comp 27K14-Sep-2001 19:00Compares the output from '/usr/local/lsf' done on master and slave.
lsf-date 1K07-Aug-2008 14:52Converts dates in lsf listings from hex to conventional format.
lsf-locate 1K17-Sep-2008 04:56Similar to the 'locate' command, but uses lsf database
lsf-locate.pl 1K04-Mar-2008 00:01Similar to the 'locate' command, but uses lsf database
lsf-rcp 2K02-Nov-2000 20:00Performs "rcp", "chmod" and "chown" for /usr/local/bin/lsf-comp.
lsf4 18K27-Jul-2001 19:12Creates a list of files and their attributes. Old version.
md5-dirs 11K29-Jul-2008 00:39Maintains md5 checksum lists for one or more directories.
monitor-file-growth 9K04-Mar-2008 01:57Displays incremental and average MB per second for growing files
mv-month 4K23-Jul-2008 06:02Moves items based on file's 4-digit year and 2-digit month.
mv-week 6K28-Mar-2006 02:20Moves files into weekly subdirectories, to archive or discard
prune-files 6K07-Nov-2008 10:50Deletes older files to free up sufficient disk space
prune-mqueue 1K11-Nov-2008 01:32a /usr/bin/perl script text executable
rename-to-yyyy-mm 1K03-Sep-2008 03:21Renames *.log to *.yyyy-mm on the first of the month.
rename.pl 1K11-Sep-2003 21:23a /usr/bin/perl -w script text executable
reset-clientmqueue 2K11-Nov-2008 01:25Cleans out /var/spool/clientmqueue after a network outage
rm-same 4K02-Mar-2006 23:05Deletes files on remote system if they have same checksum as local.
rm-same-md5 6K31-Aug-2006 23:11a /usr/bin/perl script text executable
rrsync 3K15-Jun-2007 01:17Restricts rsync to subdirectory declared in .ssh/authorized_keys
run-parts+timestamp 1K03-Jul-2006 05:50Bourne-Again shell script text executable
run-unique 2K28-Aug-2007 22:02Starts a command only if it is not already running
sort-shadow 2K30-Apr-2008 23:51Writes /etc/shadow.new in the same order as in /etc/passwd and
ssh-showkeys 1K18-Mar-2006 13:25a /usr/bin/perl -n script text executable
ssh-sort-keys 1K07-Aug-2007 22:45Consolidate entries for identical ssh host keys
sys-stats 5K08-Nov-2008 09:27Gather system information that needs root privs.
tcp-proxy 4K06-Oct-2001 04:53General proxy; created to access NNTPSERVER on another network
timestamp 2K24-Jul-2008 11:26Adds "hour:minutes" to output for long-running programs.
toolwait 1K30-May-2008 22:33Start a process not connected to controlling terminal, wait a bit.
z1gb 5K24-Dec-2007 06:36Determine how long it takes to write 1GB of zeros to the disk
zip-monthly 5K07-Feb-2008 22:44Creates multiple ZIP files, one per month (or year).

s2dt-summarize.pl 2K20-Sep-2009 21:34Add a summary line (percent gigabytes used) to Series 2 "Now Playing".