Question 90
While using Linux in a small organization, the following occurs: A beginner searches for commands on a public forum and copies a destructive one-line shell command with no explanation. Which command or choice meets the stated need?
Explanation
Correct Answer
Read trusted documentation and inspect command effects in a disposable environment rather than executing unknown shell snippets. This directly addresses the reported situation. Why it works: Shell commands run with the user's effective permissions and may modify or delete files even if they look like simple text. Acceptance evidence: A command is explained step by step and tested on sample files before any live execution.
Incorrect Answers
“Use a virtual machine for an isolated Linux training environment while retaining standard Linux command-line operations” acts on a neighboring technical dependency: Use a virtual machine for an isolated Linux training environment while retaining standard Linux command-line operations. It does not resolve the stated condition, whose causal mechanism is: Read trusted documentation and inspect command effects in a disposable environment rather than executing unknown shell snippets. The required action is “Read trusted documentation and inspect command effects in a disposable environment rather than executing unknown shell snippets”.
This option would change the part of the system described by: Save downloaded work into a managed user directory and maintain a separate verified backup copy. The reported behavior instead arises because read trusted documentation and inspect command effects in a disposable environment rather than executing unknown shell snippets. The direct remediation is “Read trusted documentation and inspect command effects in a disposable environment rather than executing unknown shell snippets”.
Use official distribution repositories or verified application sources and inspect publisher provenance. That explains why “Use official distribution repositories or verified application sources and inspect publisher provenance” is useful for its own dependency, but the present failure follows a different constraint: Read trusted documentation and inspect command effects in a disposable environment rather than executing unknown shell snippets. The targeted correction is “Read trusted documentation and inspect command effects in a disposable environment rather than executing unknown shell snippets”.