Command used to replace all space with | and create another output file

  1. cat test1 | tr ' ' '|' > test2

  2. cat test1 | cut-d ' ' ' |' > test2

  3. cat test1 | tr '|' ' ' > test2

  4. cat test1


Correct Option: A

Find more quizzes: