摘要: 1. shell判断文件,目录是否存在或者具有权限2. #!/bin/sh3.4. myPath="/var/log/httpd/"5. myFile="/var /log/httpd/access.log"6.7. # 这里的-x 参数判断$myPath是否存在并且是否具有可执行权限8. if [ 阅读全文
posted @ 2021-03-11 08:37 Franson 阅读(1311) 评论(0) 推荐(0) 编辑