How can you describe the function of the following commands? foo < bar > foobar

  1. The command bar gets its input from file foo and writes its output to the file foobar.

  2. The command foo gets its input from the file bar and redirect its output to the command foobar.

  3. The command bar writes its output to the files foo and foobar.

  4. The command foo gets its input from the file bar and writes its output to the file foobar.


Correct Option: B

Find more quizzes: