170k views
1 vote
Question 08. What command, identical in both Windows and Linux, will tell you the name of the computer? A) hosts | grep B) whoami C) hostname D) net name

1 Answer

6 votes

Answer:

hostname

Step-by-step explanation:

If you provide command prompt with "net name" it will provide you with a list of correct uses, but if you provide it with "hostname" it will display your devices name. You can furthur test this by running cmd as administrator and trying both.

User Johnno Nolan
by
8.4k points