ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 35 - XK0-005 discussion

Report
Export

Which of the following commands will display the operating system?

A.
uname -n
Answers
A.
uname -n
B.
uname -s
Answers
B.
uname -s
C.
uname -o
Answers
C.
uname -o
D.
uname -m
Answers
D.
uname -m
Suggested answer: C

Explanation:

The command that will display the operating system is uname -o. This command uses the uname tool, which is used to print system information such as the kernel name, version, release, machine, and processor. The -o option stands for operating system, and prints the name of the operating system implementation (usually GNU/Linux).

The other options are not correct commands for displaying the operating system. The uname -n command will display the network node hostname of the system. The uname -s command will display the kernel name of the system. The uname -m command will display the machine hardware name of the system. Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 1:

Exploring Linux Command-Line Tools; uname(1) - Linux manual page

asked 02/10/2024
Natalia Novikova
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first