摘要: 一、创建shell脚本 示例:查看a.txt文件是否存在 #!/bin/sh echo "查找2.txt文件是否存在?" if [ -e /test/2.txt ];then echo $(date +%F%n%T)文件存在-yes >> /test/log.txt else echo $(date 阅读全文
posted @ 2023-05-11 17:27 王晓鸣 阅读(515) 评论(0) 推荐(0) 编辑