Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Exam 220-1002 topic 1 question 251 discussion

Actual exam question from CompTIA's 220-1002
Question #: 251
Topic #: 1
[All 220-1002 Questions]

A technician is having issues with the WiFi connection while working on a Mac. The technician wants to check which SSID the computer is connected to and some statistics about the connection. Which of the following terminal commands should the technician use?

  • A. apt-get
  • B. iwconfig
  • C. sudo
  • D. ifconfig
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Rick123
Highly Voted 1 year, 11 months ago
answer is ifconfig, and there is no command iwconfig for mac
upvoted 15 times
BobE1
1 year, 11 months ago
I can also confirm that there doesn't seem to, unfortunately, be any iwconfig operation on a mac but seemingly only on a Linux. If this actually the case I do hope the situation can be resolved in suitable appropriate ways.
upvoted 3 times
...
...
DrDoMe
Most Recent 3 months ago
Update-its Definitely D
upvoted 2 times
...
DrDoMe
3 months ago
Crazy enough correct answer seems to be B Iwconfig is similar to ifconfig, but is dedicated to the wireless interfaces. It is used to set the parameters of the network interface that are specific to the wireless operation (the wireless frequency, for example). Iwconfig may also be used to display those parameters, and the wireless statistics (extracted from /proc/net/wireless).
upvoted 1 times
...
iLikeBeagButt
3 months, 2 weeks ago
Selected Answer: D
D. ifconfig I have a MacOS and entered iwconfig and this is the output below: -bash: iwconfig: command not found
upvoted 1 times
...
asheee_x
4 months, 4 weeks ago
mac commands aren't even part of 1002's objective....right ? .... THIS QUESTION SHOULDNT EXIST HERE
upvoted 1 times
sonny2
4 months, 3 weeks ago
Mac uses the same shell as Linux. If a question appears about Mac's command line, you can safely assume a Linux command will work.
upvoted 2 times
xFlow777
1 month, 2 weeks ago
If so then the answer should be iwconfig because that's how you check wireless adapter information in Linux, but iwconfig doesn't exist in MacOS
upvoted 1 times
...
...
...
backdooranon
5 months ago
iwconfig doesn't exist in Mac.
upvoted 1 times
...
TripeV
7 months ago
iwconfig is similar to ifconfig, but is dedicated to wireless networking interfaces. It is used to set the parameters of the network interface which are specific to the wireless operation (eg. frequency, SSID). ... iwconfig is part of the wireless-tools for Linux package maintained by Jean
upvoted 2 times
...
Nebulise
1 year ago
B is correct, see below: The ifconfig and iwconfig commands are used to configure network interfaces. While the ifconfig command is dedicated to wired connections, the iwconfig command is used on wireless interfaces. Source: Sybex A+ Review Guide
upvoted 3 times
...
Copextel77
1 year ago
Iwconfig is similar to ifconfig, but is dedicated to the wireless interfaces
upvoted 1 times
...
KIng16
1 year, 1 month ago
B is correct!!
upvoted 1 times
...
dnbly
1 year, 4 months ago
Mac OS X has ifconfig for general lan/wlan details and airport -I for detailed WLAN view I think. Iwconfig is only on Linux. Just because MacOS is based on Linux does not mean they have the same command syntax (I have experience using different Linux distro so I know the commands aren't necessarily exactly the same).
upvoted 2 times
notarobot4296
8 months, 3 weeks ago
Actually, MacOS and Linux are both based on granddaddy UNIX.
upvoted 1 times
...
...
Clavan
1 year, 9 months ago
Please note that the command exits and the answer is actually right. https://linux.die.net/man/8/iwconfig
upvoted 3 times
Ava1
1 year, 8 months ago
They question about a Mac, not Linux..
upvoted 5 times
Simdiddy
1 year, 6 months ago
The command line interface in macOS is the same as the one mostly used in Linux i.e Terminal. macOS is built on a UNIX kernel known as Darwin.
upvoted 3 times
Ava1
1 year, 5 months ago
I was wrong, you are right :)
upvoted 1 times
dnbly
1 year, 4 months ago
No, you were right. A distro does not necessarily have the exact same commands and syntax as the original. Iwconfig is not on the list of available Terminal commands. https://ss64.com/osx/
upvoted 3 times
...
...
...
...
ep0ch
9 months, 3 weeks ago
mac os terminal does not have iwconfig https://apple.stackexchange.com/questions/80187/is-there-a-mac-os-x-equivalent-of-the-linux-iwconfig-command
upvoted 2 times
...
...
YettiSpider
1 year, 10 months ago
ifconfig en1 gives information for WLAN and the answer is D
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...