shell脚本并不能作为正式的编程语言,因为它是在Linux的shell中运行的,所以称他为shell脚本. 事实上,shell脚本就是一些命令的集合. 我们不妨吧所有的操作都记录到一个文档中,然后去调用文档中的命令,这样一步操作就可以完成了 一般shell脚本都是放在/usr/local/sbin的目录下 1.shell脚本的创建和执行 #cd usr/local/sbin # vim first.sh #! /bin/bash ##this is my first shell script…
mysql connector: .net var r = cmd.ExecuteReader() r.Reader() // <--长时间不停调用 Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. 解决办法有2个 1. 写ConnectString: server=127.0.0.1;User Id=reader…