如何解决终端中的shasum问题

时间:2020-05-05 15:37:37

标签: terminal sha

例如在Mac上输入时

 ➜  ~ echo -n "test" | shasum

我得到:

zsh: command not found:  shasum

我尝试过尝试:

➜  ~ echo -n "test" | shasum    

知道:

a94a8fe5ccb19ba61c4c0873d391e987982fbbd3  -

然后我尝试了:

➜  ~ echo -n "name" | shasum

知道:

zsh: command not found:  shasum

再次尝试可得到相同的结果。我也尝试过使用单引号。 (我在z-shell terminal2上)

我不了解此行为,也不知道如何解决。

0 个答案:

没有答案