Question

Difficulty: MediummacOS and Linux Operating System Features and Tools

A system administrator manages a mixed corporate network consisting of macOS workstations and Linux servers. Match each native operating system tool or terminal command to its correct administrative function.

  • sw_versDisplays installed macOS product version, build number, and OS name in the terminal.
  • iwconfigInspects and configures wireless network interface parameters such as SSID and frequency on Linux.
  • killallSends a signal to terminate active system processes based on their exact process name.
  • duEstimates and reports disk space consumption for specified files and directory trees.

Answer

The correct matches associate sw_vers with displaying macOS version info, iwconfig with Linux wireless interface configuration, killall with terminating processes by name, and du with directory disk space estimation.
Each tool matches its specific administrative function: sw_vers reports macOS system version metadata; iwconfig adjusts Linux wireless settings; killall halts programs by process name; and du reports directory storage consumption.

Step-by-Step Solution

1
Identify the primary function of the macOS sw_vers utility.
Map sw_vers to displaying installed macOS version and build details.
sw_vers stands for software version and is native to macOS CLI environment.
2
Analyze Linux wireless networking commands.
Map iwconfig to configuring Linux wireless interfaces.
iwconfig specifically targets wireless interface parameters like SSID and encryption keys.
3
Evaluate process management commands in Linux and macOS.
Map killall to ending processes using process names.
Unlike kill which requires a PID number, killall targets matching process binary names.
4
Differentiate storage analysis utilities.
Map du to estimating file space consumption.
du (disk usage) summarizes file and folder size usage, whereas df (disk free) checks overall volume availability.

Key Concept

macOS and Linux Command-Line Utilities and Administrative Tools
Rate this question