Command introduced in JUNOS Release 9.5.
Calculate the Secure Hash Algorithm (SHA-1) checksum of a file.
pathname — (Optional) Path to a filename.
filename — Name of a local file for which to calculate the SHA-1 checksum.
maintenance
When you enter this command, you are provided feedback on the status of your request.
user@host> file checksum sha1 /var/db/scripts/opscript.slaxSHA1 (/var/db/scripts/commitscript.slax) = ba9e47120c7ce55cff29afd73eacd370e162c676