有时候在Windows编写shell脚本时需要注意这个,否则shell脚本 会报"No such file or directory"或"command not found line x"之类的错误,如果不知晓前因后果,肯定会被这个折腾得相当郁闷。如下所示test.sh[root@DB-Server myscript]#more...
如题所示,在安装了oracle的Linux服务器上执行脚本时出现如题的错误:1 2[oracle@hp-db test]$./getSysdate.sh./getSysdate.sh:line 10:sqlplus:command not found 问题分析:情况一:使用root用户切换到oracle用户时使用了以下命令 1[root...