发布时间:2013-09-20 00:07:06
怎样用zip压缩多个文件呢?语法: zip {.zip file-name} {file-names} # zip var-log-files.zip /var/log/* adding: var/log/acpid (deflated 81%) adding: var/log/anaconda.log (deflated 79%) adding: var/log/anaconda.syslog (deflated 73%) adding: var/log/anaconda.xlog (deflated 82%) adding: var/log/aud.........【阅读全文】
发布时间:2013-09-17 13:37:49
找到apache的配置文件一般的路径为 /etc/httpd/conf/httpd.conf /etc/apache2/apache2.conf在最后加入ScriptAlias /nagios/cgi-bin "/opt/nagios/sbin"......【阅读全文】
发布时间:2013-09-17 13:30:46
find -type f -ctime +30 -exec rm -f {} \;......【阅读全文】