Multiple Choice
When running the command sed -e "s/a/b/" /tmp/file >/tmp/file While /tmp/file contains data, why is /tmp/file empty afterwards?
A) The file order is incorrect. The destination file must be mentioned before the command to ensure redirection.
B) The command sed did not match anything in that file therefore the output is empty.
C) When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens it for reading.
D) Redirection for shell commands do not work using the > character. It only works using the | character instead.
Correct Answer:

Verified
Correct Answer:
Verified
Q133: A user accidentally created the subdirectory \dir
Q134: Which of the following command sets the
Q135: Which of the following are tasks handled
Q136: Which of the following is correct when
Q137: What can the Logical Volume Manager (LVM)
Q139: Which run levels should never be declared
Q140: Which variable defines the directories in which
Q141: To prevent a specific user from scheduling
Q142: What of the following can be done
Q143: How is a display manager started?<br>A) It