I need to have the equivalent command of rhash -M Filename.jpg
in macOS zshell. The above command works in ubuntu 16.04 but if i try the same command in zsh. It gives me error zsh: command not found: rhash
. Any help is appreciated.
Not familiar with rhash
, but it seems to generate an MD5 sum, so on a Mac, you can do:
md5 -q SomeFile
7df25d6181c015d4cf3e003d5d84a0d9
If that is not perfect, run man md5
to find alternative output formats.
If you have hombebrew , you can also install rhash
with:
brew install rhash
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.