CompTIA Linux+ (XK0-005) — Question 84

Users have been unable to save documents to /home/tmp/temp and have been receiving the following error:

Path not found -
A junior technician checks the locations and sees that /home/tmp/tempa was accidentally created instead of /home/tmp/temp. Which of the following commands should the technician use to fix this issue?

Answer options

Correct answer: B

Explanation

The correct command is B, 'mv /home/tmp/tempa /home/tmp/temp', because it moves the mistakenly created directory to the correct location. Option A would copy the directory instead of moving it, which does not resolve the issue. Option C is incorrect as it attempts to change directories, and Option D only lists the contents of the wrong directory without addressing the error.