8.8k views
3 votes
Which one shows the name of the operating system?

1) uname -n
2) uname -r
3) uname -o
4) Cannot be determined

User Mafii
by
8.6k points

1 Answer

3 votes

Final answer:

To determine the name of the operating system in a UNIX-like environment, the command to use is uname -o. This command is designed to provide the official name of the operating system. Hence, the correct answer is 3) uname -o.

Step-by-step explanation:

The question pertains to identifying which command reveals the name of the operating system in a UNIX-like environment. To find out the name of the operating system, the command uname -o is used. Here is a breakdown of what each command option for uname does:

  • uname -n displays the network node hostname.
  • uname -r shows the kernel release.
  • uname -o reveals the operating system name.
  • Therefore, the correct answer is 3) uname -o.

User Bram Verstraten
by
8.1k points