Question: Wich operator sends the output of ls to a file for later use?

  1. ls < filelist.txt
  2. ls ? filelist.txt
  3. ls > filelist.txt
  4. ls - filelist.txt

Answer: The correct answer of the above question is Option C:ls > filelist.txt