spawn-fcgi -a 127.0.0.1 -p 9000 -C 5 -u nginx -g nginx -f php-cgi
2、远程Host scp拷贝文件脚本(并返回拷贝是否成功结果) #!/bin/bash #./expect_scp.sh hostIP loginName Password Src_file Dest_file ./expect_scp.sh 192.168.1.168 ubuntu 123456 $src_file $dest_file var=$? echo $var if [ $var -eq 0 ]; then echo "expect_scp copy file success" else ech...