会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Franson
博客园
首页
新随笔
联系
管理
订阅
03 2021 档案
shell判断文件是否存在
摘要: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
阅读(1392)
评论(0)
推荐(0)
公告