![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
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 · 393 阅读 · 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 · 1457 阅读 · 0 评论