为什么我不能在 WinSCP 中执行 shutdown.sh?

Why I can not execute the shutdown.sh in WinSCP?

我使用 WinSCP 连接我的远程服务器,我 cd 进入 tomcat bin,我想执行 shutdown.sh.

但失败并显示以下消息:

无论我用:

./ shutdown.sh

shutdown.sh

都会报错

"./ shutdown.sh" 在 "./" 和 shutdown.sh

之间有一个 space

"./shutdown.sh" 这样就对了

我不知道为什么会这样。我不使用 WinSCP,试试 putty