使用php调用shell脚本同步文件

当你在上传文件的时候须要同步到另外机器的时候,能够执行shell脚本实现文件同步php #! /bin/bash a=$1 b=$2 ip=$3 port=$4 passwd=$5 /bin/rpm -qa|/bin/grep -q expect if [ $? -ne 0 ];then echo "please install expect" exit fi if
相关文章
相关标签/搜索