The dmesg command print or control the kernel ring buffer. You can also use files located in /var/log/ directory to see snapshot of boot messages. To see logs type the following command at shell prompt (open the terminal and type the commands):
$ dmesg | less
You can use the following two files as well:
- /var/log/boot.log
- /var/log/dmesg
less /var/log/boot.log
less /var/log/dmesg
grep error /var/log/dmesg
grep something /var/log/boot.log
No comments:
Post a Comment