- 博客(2)
- 收藏
- 关注
原创 bash实现字符串startswith/endswith功能
shell advanced program中有种比较有用的写法,能够简单模拟一般编程语言中的startswith/endswith的字符串以特殊字符开头结尾进行判断的功能,比较使用,记之:# e.g. 获取当前目录中以“est”为结尾的文件名:~]# for i in `ls`; do [[ $i == *"est" ]] && echo $i ; donetest其中...
2019-04-15 10:03:32 10275
原创 error: skipping because parent directory has insecure permissions问题
问题描述logrotate执行轮询异常,“considering log /var/log/xxxlogerror: skipping “/var/log/xxxlog” because parent directory has insecure permissions (It’s world writable or writable by group which is not “root”)...
2019-04-10 17:02:14 5586
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人