Ubuntu Linux View Boot Log Command

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:

  1. Open a terminal: To open a terminal on Ubuntu Linux, press Ctrl+Alt+T on your keyboard, or search for “Terminal” in the Applications menu.
  2. Run the dmesg command: In the terminal, run the following command:
dmesg

This command will display the kernel ring buffer messages, which include the boot log messages.

  1. 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 less command to display the messages one page at a time. For example, to display the messages using the less command, 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.

Leave a Comment