010-160 Exam QuestionsBrowse all questions from this exam

010-160 Exam - Question 8


What is true about the dmesg command? (Choose two.)

Show Answer
Correct Answer: CE

The dmesg command displays the content of the Linux kernel's ring buffer, which contains system messages and diagnostic information. Additionally, the ring buffer has a limited size, and when it becomes full, the oldest messages are overwritten by newer information. Therefore, dmesg might not display older information if it has been replaced by newer entries.

Discussion

6 comments
Sign in to comment
Cityluv35Options: CE
Aug 13, 2020

c , e are correct. I just took the exam and got it right

MIU
Nov 10, 2020

How can you know if you got it right or not? you can just get the score and the result. So you can't know which answer you got right or wrong....

JRossJ
Sep 3, 2021

You can figure it out if you get a 100 on a particular section and you know the question is from that section.

KJ88
Nov 11, 2020

You have no idea of knowing if you got it right or wrong! The test does not provide you with details on which questions you got right or wrong.

7030703
Jun 24, 2024

What's he doing back here if he took the exam, must have not passed.

bobleeOptions: CE
Nov 17, 2020

C AND E is correct.

beazzlebub
Jul 24, 2021

From Man Page for C: dmesg is used to examine or control the kernel ring buffer. The default action is to display all messages from the kernel ring buffer. From Stackexchange question for E (https://unix.stackexchange.com/questions/181067/how-to-read-dmesg-from-previous-session-dmesg-0): To clear up a fundamental misconception, dmesg does not read from /var/log/dmesg. It reads directly from the kernel ring buffer and gives you the most recent N messages.

LadyJ_Okonkwo
Aug 20, 2019

What do these symptoms mean? ’ They are in several of the questions and answers but I have not been able to find a meaning for them or how they fit into the syntax. Can someone please help I will be taking this exam in abut 10 days and I really need to help with this!?

dtbui3
Aug 26, 2019

It's a ’ (RIGHT SINGLE QUOTATION MARK - U+2019) character which has been encoded as CP-1252 instead of UTF-8. If you check the encodings table, then you see that this character is in UTF-8 composed of bytes 0xE2, 0x80 and 0x99. If you check the CP-1252 code page layout, then you'll see that each of those bytes stand for the individual characters â, € and ™.

linvidiaOptions: CE
Oct 26, 2022

the "dmesg" command prints the kernel ring buffer and new messages are overwritten

VovanichOptions: CE
Dec 20, 2022

C. It displays the content of the Linux kernel's ring buffer. E. It might not display older information because it was overwritten by newer information.

sungwon392Options: CE
Dec 20, 2022

CE is correct