0

我正在使用 BOSH 1.3232.0,并且我想在 sh 脚本中使用 bosh 命令。下面是我的脚本文件。但是当我执行它时,我得到 command not found 错误。

#!/bin/bash
echo "Hello World...!"
bosh target

输出

Hello World...!
test.sh: 3: bosh target: not found
4

1 回答 1

0

你的脚本没有问题。您需要检查您的 bosh cli 是否安装良好。

于 2016-12-19T14:14:15.507 回答