Question: What would be in out.txt?

  1. The output from the command line. By default STDIN comes from the keyboard.
  2. Nothing because you can't redirect from file (in.txt) to another file (out.txt). You can only redirect from a command to a file.
  3. It would be the contents of in.txt.
  4. Nothing. The redirect will create a new empty file but there will not be any output from the cat command to redirect.

Answer: The correct answer of the above question is Option C:It would be the contents of in.txt.