xuetianhhbdeMac-mini:~ xuetianhhb$ cd /Users/xuetianhhb/Library/apache-tomcat-7.0.79/bin
xuetianhhbdeMac-mini:bin xuetianhhb$ sudo chmod 755 *.sh
Password:
xuetianhhbdeMac-mini:bin xuetianhhb$ sudo sh startup.sh
: command not found
: command not found:
: command not found:
'tartup.sh: line 24: syntax error near unexpected token `in
'tartup.sh: line 24: `case "`uname`" in
xuetianhhbdeMac-mini:bin xuetianhhb$
咋回事呢?烦人
换了 8.x解决的 或者这个下载的文件有问题,最好下载压缩包
command not found。 估计是.sh文件中用到某个命令找不到吧。抑或是找不到startup.sh。是不是要在前面加 ./ 呢?
咋解决呢?
@jj89757hhb: 看看哪个命令找不到呀,一个一个的试。你确定startup.sh前面不用加 ./ 吗?
./startup.sh