[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

file checksum sha1

Syntax

file checksum sha1 <pathname> filename

Release Information

Command introduced in JUNOS Release 9.5.

Description

Calculate the Secure Hash Algorithm (SHA-1) checksum of a file.

Options

pathname(Optional) Path to a filename.

filenameName of a local file for which to calculate the SHA-1 checksum.

Required Privilege Level

maintenance

List of Sample Output

file checksum sha1

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

file checksum sha1

user@host> file checksum sha1 /var/db/scripts/opscript.slax
SHA1 (/var/db/scripts/commitscript.slax) = ba9e47120c7ce55cff29afd73eacd370e162c676

[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]