- 积分
- 55
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-11-25
- 最后登录
- 1970-1-1
|
发表于 2018-4-18 13:49:27
|
显示全部楼层
按照楼主的方法做了一遍 可是还是出现了下面的错误
=====================================
You need to set your password before you can continue
see the documentation in the script
: Command not found.
: Command not found.
@: Badly formed number.
我在脚本里写了密码,环境变量也设置好了啊,报错里还是说需要设置密码??
我检查了一下 感觉问题出在下面这几行脚本中,谁能解答一下这几行脚本是什么意思??
=================================================
set num_chars = `echo "$passwd" |awk '{print length($0)}'`
if ($num_chars == 0) then
echo "You need to set your password before you can continue"
echo " see the documentation in the script"
exit
endif |
|