Script Library

LinuxCommand

Learning the shell

Writing shell scripts

SuperMan pages

Who, What, Where, Why

LinuxCommand.org Contributors Kit

The Contributors Kit contains everything you need to contribute to the LinuxCommand.org project. In it you will find:

  • Documentation for the Linuxcommand.org project
  • A special version of the new_script package for creating LinuxCommand.org scripts

View README

Download the Contributors Kit


new_script

by William Shotts, Jr.

The new_script package consists of two programs designed to help you write shell scripts. The programs are:


new_script

View README

View Script

new_function

View README

View Script

Download the new_script package


rh-errata

by William Shotts, Jr.

rh-errata is a tool for maintaining the integrity of a Red Hat Linux system. It builds a respository of RPM files from a designated mirror of the Red Hat updates site. It only downloads RPM files that have not already been downloaded. Optionally, it can produce a report that shows which RPM files in your respository need to be updated and which ones have already been installed.

View README

View Script

Download the rh-errata package


floppytools

by Jogeir Lindseth

The floppytools package contains various scripts that operate on floppy disks.


diskcopy

View README

View Script

This is a program to copy floppy disks.

backupetc

View README

View Script

This program copies the contents of your /etc directory to a floppy.

Download the floppytools package


sf-tools

by William Shotts, Jr.

The sf-tools package contains various scripts to support SourceForge users.

View README


sft_upload_website

View README

View Script

This is a program to upload your project web site to SourceForge. It does this by constructing a gzip compressed tar file and uploading it (using scp) to the your project directory at SourceForge.

sft_release_module

View README

View Script

This is a program to release a SoureForge project module. It automates cvs commit and tagging, tarball creation and tranfer, CHANGELOG maintenance, and more.

sft_new_cvs_module

View README

View Script

This is a program to import a new module into your project's CVS tree on SourceForge.

Download the sf-tools package


misc

by various artists

The misc package contains various utility scripts.


alarm

View README

View Script

Plays an audible alarm until the enter key is depressed. Useful to call at the end of a long process to alert the user to take action. Written by William Shotts.

compare_cds

View README

View Script

Performs various types of comparisons between CD-ROMS. Designed originally to verify that one CD exactly matches another. Written by William Shotts.

format_floppy

View README

View Script

Simple command line program to format msdos and ext2 floppy diskettes. Written by William Shotts.

set_clock

View README

View Script

Command line program to set the system and hardware clocks with time obtained from a network time server. Written by William Shotts.

sizeof

View README

View Script

Command line program that outputs file sizes. Written by William Shotts.

Download the misc package