[Ilugc] .a-tip-a-day. (sha1sum - Print fingerprint of files)

  • From: thescriptdevil@xxxxxxxxx (Ashok Gautham)
  • Date: Mon Sep 21 21:10:25 2009

On Mon, Sep 21, 2009 at 8:35 AM, Girish Venkatachalam
<girishvenkatachalam@xxxxxxxxx> wrote:

$ sha1sum file.iso

Normally you don't use it with any switch.

You have to execute the same command on two different machines and
verify the output.

It is usually enough to look at the first 4 and the last 4 characters
of the output.


If you have a SHA1SUMS or a similar file in the directory where you
downloaded the files,
sha1sum -c <file containing all checksums>
will check them.

This of course is only useful if there are many files that you have
downloaded and want to check it
all in one shot.

---
Ashok `ScriptDevil` Gautham

Other related posts: