Question 430
Before changing a Linux system, an engineer observes: File names containing spaces must be passed from find to a command that accepts file arguments. Which check most directly isolates the relevant cause or prerequisite?
Explanation
Correct Answer
Inspect whether names may contain whitespace or newlines before choosing a delimiter. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use find ... -print0 with xargs -0 or the safe find -exec form.
Incorrect Answers
Inspect whether the program accepts data from stdin rather than requiring a file pathname. That would matter when a program reads input from standard input but the data already exists in a local file. The relevant distinction in this case is: Inspect whether names may contain whitespace or newlines before choosing a delimiter.
Inspect whether upstream errors are on stderr and whether tee receives only stdout. That would matter when a script uses a pipeline into tee but needs the file to collect both output and diagnostics. It does not address this case's requirement: File names containing spaces must be passed from find to a command that accepts file arguments.
Inspect the stream containing errors and the existing contents of the target audit log. That would matter when a noisy command must append diagnostic errors to an existing audit file without replacing its contents. That separate mechanism does not verify the needed Linux administration outcome in this case.