发布时间: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 {} \;......【阅读全文】
发布时间:2013-09-15 22:06:59
你可以用“cd -”在最近访问的两个目录之间进行切换,如下所示: # cd /tmp/very/long/directory/structure/that/is/too/deep # cd /tmp/subdir1/subdir2/subdir3 # cd - # pwd /tmp/very/long/directory/structure/that/is/too/deep# cd - # pwd /tmp/subdir1/subdir2/subdir3 # cd - # pwd.........【阅读全文】