728x90 AdSpace

Saturday, 16 September 2017

sha1sum Linux Command

sha1sum

sha1sum [option] [files] sah1sum [option] --check [file]
Compute or check 160-bit SHA1 checksums to verify file integrity. If the file is not specified, or specified as -, read from standard input.

Options

-b, --binary
Read files in binary mode. The default on DOS or Windows.

-c, --check
Check the SHA1 sum and file information in the file argument (or standard input) against the corresponding files and verify that they are consistent. The input must have been generated by an earlier sha1sum command.

--help
Print usage information and exit.

--status
Don't generate output messages; the exit code indicates success or failure. Used only with --check.

--string=string
Compute the SHA1 sum for the specified string. This option does not take a file argument. Put quotes around the string if it contains spaces.

-t, --text
Read files in text mode. The default.

--version
Print version information and exit.

-w, --warn
Warn about improperly formatted checksum lines. Used only with --check.
Annamalai Thangaraj

Annamalai is working as Technical Lead in Leading Telecom company with 5+ years experience in Identity and Access Management , Telecom and Networks, BigData, Java, Spring, Struts, Hibernate, AngularJS, and Enterprise Web Application Development.

Website: Java Tutorials Corner

Shop and help us

Flipkart Offer Snapdeal offer Amazon.in offer Amazon.com offer
  • Blogger Comments
  • Facebook Comments
  • Disqus Comments

0 comments:

Post a Comment

Item Reviewed: sha1sum Linux Command Rating: 5 Reviewed By: Annamalai Thangaraj