摘要:
1. shell判断文件,目录是否存在或者具有权限 2. #!/bin/sh 3. 4. myPath="/var/log/httpd/" 5. myFile="/var /log/httpd/access.log" 6. 7. # 这里的-x 参数判断$myPath是否存在并且是否具有可执行权限 ... 阅读全文
posted @ 2014-05-16 23:09
秦瑞It行程实录
阅读(833)
评论(0)
推荐(0)
浙公网安备 33010602011771号