7.11 屏蔽开关机屏幕日志

sudo nano /etc/default/grub

添加loglevel=2内核启动参数,例如:GRUB_CMDLINE_LINUX="loglevel=2"

更新:sudo update-grub

该参数只是设置在屏幕上打印的内核日志级别,并不影响内核日志的记录。可用如下命令查看:dmesg --level 3

详见:dmesg --help

Copyright © DOSU community 2020 all right reserved,powered by Gitbook该文章修订时间: 2020-09-12 12:06:10

results matching ""

    No results matching ""