Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 unix 上运行一个 shell 脚本,但我收到一个错误,指出它无法执行。
命令
Unix> Abc.ksh ksh: Abc.ksh: cannot execute
也试过
pcasvs17 > ./Abc.ksh ksh: ./Abc.ksh: cannot execute
脚本以
#!/bin/ksh
任何帮助表示赞赏。
chmod +x Abc.ksh然后再试一次./Abc.ksh
chmod +x Abc.ksh
./Abc.ksh