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

file checksum sha-256

Syntax

file checksum sha-256 <pathname> filename

Release Information

Command introduced in JUNOS Release 9.5.

Description

Calculate the Secure Hash Algorithm 2 family (SHA-256) checksum of a file.

Options

pathname(Optional) Path to a filename.

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

Required Privilege Level

maintenance

List of Sample Output

file checksum sha-256

Output Fields

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

Sample Output

file checksum sha-256

user@host> file checksum sha-256 /var/db/scripts/commitscript.slax
SHA256 (/var/db/scripts/commitscript.slax) = 94c2b061fb55399e15babd2529453815601a602b5c98e5c12ed929c9d343dd71

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