Print the messages generated by the Linux kernel

Question:
What is the command to print the messages generated by the kernel?

  1. dmesg
  2. display_messages
  3. show kernel_messages
  4. echo $kernel
Answer:
A - is the correct answer