CompTIA A+ Core 2 (220-1102) — Question 192
A technician needs to manually set an IP address on a computer that is running macOS. Which of the following commands should the technician use?
Answer options
- A. ipconfig
- B. ifconfig
- C. arpa
- D. ping
Correct answer: B
Explanation
The correct command for setting an IP address on macOS is 'ifconfig', which is specifically designed for configuring network interfaces. 'ipconfig' is used in Windows, 'arpa' is not a valid command for this purpose, and 'ping' is used to test network connectivity rather than set IP addresses.