shell 判断文件、目录是否存在
摘要:
shell判断文件是否存在1. shell判断文件,目录是否存在或者具有权限2. #!/bin/sh3.4. myPath="/var/log/httpd/"5. myFile="/var /log/httpd/access.log"6.7. # 这里的-x 参数判断$myPath是否存在并且是否具... 阅读全文
posted @ 2015-09-26 22:39 月未央 阅读(1474) 评论(0) 推荐(0)
浙公网安备 33010602011771号