MoonPoint Support Logo

 


Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
October
Sun Mon Tue Wed Thu Fri Sat
21
       
2006
Months
Oct


Sat, Oct 21, 2006 6:27 pm

Calculating an MD5 Checksum Using digest on Solaris

If you need to calculate an MD5 checksum for a file under Solaris, you can use the digest command.

usage: digest -l | [-v] -a [file...]

You specify the algorith you wish to use to generate the digest or checksum with the -a option. One of the algorithms is md5. You can see a list of available algorithms with digest -l.


# digest -l
sha1
md5
sha256
sha384
sha512

Use all lower case letters for the selected algorithm as they are case sensitive.

Example:


# digest -a md5 htdig-3.2.0b5-sol9-intel-local.gz
12834a33e31135131bd5c5f0083860b1

You can have the file name and the algorithm used included in the output by using the -v option.


# digest -a md5 -v *
md5 (idea-c.html) = 3f9f5e884189acec870c8044de11e044
md5 (idea.c.gz) = 374536bb2cdd68f5c0dce961ace26959

[/os/unix/solaris] permanent link

Once You Know, You Newegg AliExpress by Alibaba.com

Shop Amazon Local - Subscribe to Deals in Your Neighborhood

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo