GIAC Foundational Cybersecurity Technologies Practice Test 2026 – All-in-One Guide to Master Your Certification!

Question: 1 / 400

Which of the following commands is used to redirect output in Linux?

>

The command used to redirect output in Linux is represented by the symbol ">". This operator is employed in shell commands to direct the output that is normally displayed on the screen into a file or another command. For example, using "command > file.txt" allows the output of "command" to be written to "file.txt" instead of being printed to the terminal.

While the other options like "echo" or "cat" are commands used in Linux, they do not intrinsically perform output redirection. "echo" is used to display a line of text or a variable's value in the terminal, and "cat" is primarily used for reading the contents of files or concatenating them. Although these commands can work with output redirection, they do not themselves carry the capability to redirect output like the ">" operator does.

Thus, the symbol “>” is the specific operator that fulfills the requirement for output redirection in Linux commands.

Get further explanation with Examzify DeepDiveBeta

echo

cat

all of the above

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy