A system administrator is managing a remote macOS workstation over an SSH connection. The administrator needs to perform two tasks from the terminal: initiate an immediate system backup using the built-in macOS backup framework and search for specific configuration files by querying the system's Spotlight metadata index. Which of the following native command-line utilities should the administrator execute? (Select TWO.)
- Use the tmutil command to control and initiate Time Machine backups.Answer
- Use the mdfind command to search files using the native Spotlight metadata index.Answer
- CUse the dd command to invoke native Time Machine backup snapshots.
- DUse the grep command to query the live Spotlight metadata index.
Answer
The administrator should use the tmutil utility to initiate Time Machine backups and the mdfind utility to search the Spotlight metadata index from the command line.
The tmutil utility is the native macOS command-line utility used to trigger and manage Time Machine backups over a shell session. The mdfind command is the native CLI utility that queries the macOS Spotlight search engine metadata index to locate files quickly without searching the full file system linearly.
Step-by-Step Solution
Key Concept
macOS Native Command-Line Features and Utilities (tmutil and mdfind)