CompTIA Linux+ (XK0-005) — Question 15
Which of the following commands will display the operating system?
Answer options
- A. uname -n
- B. uname -s
- C. uname -o
- D. uname -m
Correct answer: C
Explanation
The command 'uname -o' specifically outputs the operating system name, making it the correct choice. The other options provide different information: 'uname -n' gives the network node hostname, 'uname -s' shows the kernel name, and 'uname -m' displays the machine hardware name.