Multiple choice technology operating systems

How can you append the output of a command to a file?

  1. command << file

  2. command > file

  3. command >> file

  4. command <> file

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

'>>' appends output to a file without overwriting existing content. '>' overwrites the file, '<<' is for here-documents (input), and '<>' is not a standard shell operator for this purpose.