To view the boot log on Ubuntu Linux, you can use the dmesg command. The dmesg command is a command-line utility that prints the kernel ring buffer messages, which includes the boot log messages. Here’s how you can view the boot log on Ubuntu Linux:
- Open a terminal: To open a terminal on Ubuntu Linux, press
Ctrl+Alt+Ton your keyboard, or search for “Terminal” in the Applications menu. - Run the
dmesgcommand: In the terminal, run the following command:
dmesg
This command will display the kernel ring buffer messages, which include the boot log messages.
- Scroll through the boot log: You can scroll through the boot log messages by using the arrow keys or the Page Up and Page Down keys. Alternatively, you can use the
lesscommand to display the messages one page at a time. For example, to display the messages using thelesscommand, run the following command:
dmesg | less
This will display the messages one page at a time, and you can navigate using the arrow keys or the Page Up and Page Down keys.
That’s it! With the above steps, you can view the boot log on Ubuntu Linux using the dmesg command.