ZKX's LAB

shell脚本 命令 shell脚本批量执行命令方法

2021-04-07知识1

shell 脚本命令太长,如何换行? 尾巴上加上 \\ 就行了。比如指令 sqlplus arg1 arg2 arg3.arg100 很长,可以写成sqlplus arg1\\arg2\\arg3\\arg100

shell脚本如何实现不用手动输入命令 bin/bashcd/usr/把上面的保存为一个文件如a.sh,然后给予执行权限执行./a.sh 就好了

Linux shell脚本如何自动运行程序并输入命令 我建议你使用shell的spawn命令,很好用的,能实现你说的功能!

随机阅读

qrcode
访问手机版