Linux Commands Examples

A great documentation place for Linux commands


Determine which of the historical versions of a config is installed

see also : ucf


lcf [options] <Destination File Name> <Historical MD5SUM source directory>

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


This script, given a destination file name, and a directory containing md5sums of historical versions of the file, attempts to determine if the installed version corresponds to a historical version. lcf uses the same algorithm that ucf uses, and should exhibit the same behaviour.

The source directory is the place where historical md5sums are expected to live. Specifically, the historical md5sums are looked for in either the file ${filename}.md5sum, or the subdirectory ${filename}.md5sum.d/


-h, --help

Print a short usage message

-n, --no-action

Dry run. Print the actions that would be taken if the script is invoked, but take no action.

-d [n], --debug [n]

Set the debug level to the (optional) level n (n defaults to 1). This turns on copious debugging information.

-v, --verbose

Make the script be very verbose about setting internal variables.


/var/lib/ucf/hashfile, /etc/ucf.conf


There are no bugs. Any resemblance thereof is delirium. Really.

see also

ucf ucf.conf.


This manual page was written Manoj Srivastava <srivasta[:at:]debian[:dot:]org>, for the Debian GNU/Linux system.

How can this site be more helpful to YOU ?

give  feedback