Solaris下的md5sum命令:digest
众所周知,Linux下可以直接用md5sum命令来获得文件的MD5码。但是Solaris下并无md5sum命令。
今天特意查询了一下,找到Solaris下的替代命令:digest
具体用法大家man一下就可以了,不细说了。
User Commands digest(1)
NAME
digest - calculate a message digest
SYNOPSIS
/usr/bin/digest -l | [-v] -a algorithm [file]...
DESCRIPTION
The digest utility calculates the message digest of the
given files or stdin using the algorithm specified. If more
than one file is given, each line of output is the digest of
a single file.
OPTIONS
The following options are supported:
-a algorithm Specifies the name of the algorithm to use
during the encryption or decryption process.
See USAGE, Algorithms, for details.
-l Displays list of algorithms available on the
system. This list can change depending on
the configuration of the cryptographic
framework.
-v Verbose output. Includes the algorithm name
and filename in the output.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好东西,收藏