<ins id='qmj9o'></ins>

      <code id='qmj9o'><strong id='qmj9o'></strong></code>
        <dl id='qmj9o'></dl>

      1. <i id='qmj9o'></i>
        <fieldset id='qmj9o'></fieldset>
      2. <tr id='qmj9o'><strong id='qmj9o'></strong><small id='qmj9o'></small><button id='qmj9o'></button><li id='qmj9o'><noscript id='qmj9o'><big id='qmj9o'></big><dt id='qmj9o'></dt></noscript></li></tr><ol id='qmj9o'><table id='qmj9o'><blockquote id='qmj9o'><tbody id='qmj9o'></tbody></blockquote></table></ol><u id='qmj9o'></u><kbd id='qmj9o'><kbd id='qmj9o'></kbd></kbd>
        1. <acronym id='qmj9o'><em id='qmj9o'></em><td id='qmj9o'><div id='qmj9o'></div></td></acronym><address id='qmj9o'><big id='qmj9o'><big id='qmj9o'></big><legend id='qmj9o'></legend></big></address>

          <i id='qmj9o'><div id='qmj9o'><ins id='qmj9o'></ins></div></i><span id='qmj9o'></span>

        2. Linux下清除系统日志的方法

          • 时间:
          • 浏览:4
          • 来源:124软件资讯网

              代码如下:

              #!/bin/sh

              cat /dev/null > /var/log/syslog

              cat /dev/null > /var/adm/sylog

              cat /dev/null > /var/log/wtmp

              cat /dev/null > /var/log/maillog

              cat /dev/null > /var/log/messages

              cat /dev/null > /var/log/openwebmail.log

              cat /dev/null > /var/log/maillog

              cat /dev/null > /var/log/secure

              cat /dev/null > /var/log/httpd/error_log

              cat /dev/null > /var/log/httpd/ssl_error_log

              cat /dev/null > /var/log/httpd/ssl_request_log

              cat /dev/null > /var/log/httpd/ssl_access_log