linux
nights07
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
按天切割日志文件
apache 修改httpd.conf # # This is the main Apache HTTP server configuration file. It contains the # configuration directives that give the server its instructions. # See <URL:http://httpd.apache.o...转载 2019-09-11 10:13:19 · 462 阅读 · 0 评论 -
解决Shell脚本$'\r': command not found问题
在执行shell命令时,会出现 $'\r': command not found 造成这个问题的原因是在Windows编辑sh脚本时,window下的空行,在linux中无法识别。因此需要进行转义 Linux下,执行yum install dos2unix 安装插件, 然后dos2unix [file]对脚本进行转码。再执行shell命令就好了 ...原创 2019-09-11 10:19:07 · 1555 阅读 · 0 评论
分享