Soru

Zorluk: ZormacOS and Linux Operating System Features and Tools

A system administrator manages software permissions, service ports, credential vaults, and system processes across macOS and Linux endpoints in an enterprise environment. Match each CLI command or native operating system utility on the left with its exact administrative function or outcome on the right.

  • chmod 750 /scripts/backup.shGrants read, write, and execute access to the owner; read and execute to the group; and no access to others.
  • Keychain AccessNative macOS management utility used to store user passwords, private keys, certificates, and secure notes.
  • lsof -i :8080Lists open files and active process details bound specifically to TCP/UDP port 8080.
  • kill -9 4152Sends an uncatchable SIGKILL signal to forcibly stop process ID 4152 immediately.

Cevap

chmod 750 /scripts/backup.sh matches granting rwx to owner, r-x to group, and no access to others. Keychain Access matches the native macOS security utility for passwords and certificates. lsof -i :8080 matches listing open files and processes bound to port 8080. kill -9 4152 matches sending an uncatchable SIGKILL signal to forcibly terminate PID 4152.
Each tool or command accurately matches its system function: chmod 750 assigns permissions by user tier (owner: rwx, group: r-x, others: none); Keychain Access manages macOS encrypted credentials; lsof -i :8080 inspects network-bound processes on port 8080; and kill -9 sends a SIGKILL signal to forcibly terminate the specified PID.

Adım Adım Çözüm

1
Analyze octal file permissions for chmod 750
7 = rwx (4+2+1), 5 = r-x (4+0+1), 0 = --- (0+0+0). This restricts all access for 'others'.
Understanding Linux/macOS octal permission flags is required to configure file security correctly.
2
Identify the macOS security management tool
Keychain Access manages stored credentials, tokens, and certificates in macOS.
Differentiating macOS-specific system utilities from standard Unix tools.
3
Determine the network diagnostic capabilities of lsof
The lsof command lists open files; in Unix/Linux systems, open network sockets are treated as files.
The -i flag filters output by network connections and ports.
4
Evaluate process termination signals using the kill command
Signal -9 corresponds to SIGKILL, which forces process shutdown immediately.
Standard kill (SIGTERM 15) allows graceful exit, while SIGKILL cannot be caught or ignored.

Anahtar Kavram

macOS and Linux Operating System Features and Tools
Bu soruyu puanla