1. 计算文档中数字的个数

2. 对比两台机器文件的差异
|
#!/bin/bash dir=/data/web [ -f /tmp/md5.list ] && >/tmp/md5.list # /tmp目录是一定存在的,md5.list文件必须清空或删除 find $dir/ -type f > /tmp/file.list scp /tmp/md5.list B:/tmp/ # 要嵌入的脚本文件 |
3. 批量杀进程

4. 统计网卡流量

5. 判断web服务的类型

1. 计算文档中数字的个数

2. 对比两台机器文件的差异
|
#!/bin/bash dir=/data/web [ -f /tmp/md5.list ] && >/tmp/md5.list # /tmp目录是一定存在的,md5.list文件必须清空或删除 find $dir/ -type f > /tmp/file.list scp /tmp/md5.list B:/tmp/ # 要嵌入的脚本文件 |
3. 批量杀进程

4. 统计网卡流量

5. 判断web服务的类型

来源:https://www.cnblogs.com/tanzhirong/p/11456526.html