0

我安装了golang最新版本(go版本go1.17.1 windows/amd64)

我用命令成功安装了vegetago install github.com/tsenart/vegeta@latest

但是,如果我命令,如我在 cmd 中看到的vegeta --help那样echo "GET http://localhost:8080/" | vegeta attack -duration=5s | tee results.bin | vegeta report

然后我面对 'tee' is not recognized as an internal or external command, executable program or batch file.

我不知道为什么会这样

我命令错了吗?我认为该echo "GET ~~ vegeta report命令适用于类 Unix,可能不适用于 Windows。

4

1 回答 1

0

tee是(广义上的)Linux 命令。幸运的是,powershell有一个版本,尝试使用它而不是cmd.

相关问题

于 2021-10-06T05:58:27.637 回答