Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道如何使用终端命令“sudo rm -r /var/log”删除所有日志文件,但是如何为系统事件设置它,因此,每次系统关闭时都要清除?
我们可以在启动或关闭时执行命令或脚本,
有关详细信息,请参阅下面的链接,
unix.stackexchange.com或ccm或opensource.com