Which three commands can be run in the macOS Terminal? (Choose three.)
Choose 3 answers
Show the answer
Correct answersA. pingC. chmodF. ls
AWhy this is right: ping tests network connectivity and is available in the macOS Terminal.
BWhy not this: ipconfig is a Windows command; macOS uses ifconfig for interface information.
CWhy this is right: chmod changes file permissions and is a standard Unix command in the macOS Terminal.
DWhy not this: tasklist is a Windows command for listing processes; macOS uses ps or top.
EWhy not this: dir is a Windows command-prompt listing command; macOS uses ls.
FWhy this is right: ls lists directory contents and is a standard Unix command in the macOS Terminal.
The macOS Terminal is a Unix-style command line that runs ls to list files, chmod to change permissions and ping to test connectivity. ipconfig, dir and tasklist are Windows command-prompt commands and are not available in macOS.