shell更新集群文件,因为自动发布系统未完善,需要更新文件到所有集群主机上。于是使用shell expect,以下代码来自网络后修改运行的。#!/bin/bash
help()
{
cat << HELP
--------------HELP------------------------
This shell script can copy file to many computers.
Useage:
copytoall filename(full path form /home) t...