Unix

Motivation

Editing configuration files on servers can be risky and so most cautious admins will backup any files they change. However, creating backups and trying to maintain multiple versions of configuration files can be tedious. You could use CVS but that’s overkill for a single file. Enter RCS.

Installation

You can download the source from the main GNU ftp site (ftp.gnu.org) and install it the usual way (.configure; make install).

Usage

Check In

To check in a file, use:

ci filename

If this file is new or updated you will be prompted to enter a comment. Checking in the file will also remove it so you will need to check it out after if it needs to be available.

Check Out

To check out a file, use:

co filename

Checkout out the file this way opens the file in “shared” mode, so the file only has read permissions set.

If you want to check out the file and make changes you must use:

co -l filename

It's only fair to share...
Share on FacebookGoogle+Tweet about this on TwitterShare on LinkedIn

Leave a Reply