Which of the following commands output the content of the file Texts 2.txt?

Which of the following commands output the content of the file Texts 2.txt? (Choose two.)
A. cat ‘Texts 2.txt’
B. cat — Texts 2.txt
C. cat |Texts 2.txt|
D. cat ‘Texts 2.txt’
E. cat Texts 2.txt

Download Printable PDF. VALID exam to help you PASS.

10 thoughts on “Which of the following commands output the content of the file Texts 2.txt?

  1. The actual test question is
    Which of the following commands output the content of the file Texts 2.txt? (Choose two.)
    A. cat ‘Texts 2.txt’
    B. cat — Texts 2.txt
    C. cat |Texts 2.txt|
    D. cat Texts\ 2.txt
    E. cat Texts 2.txt

    A and D are correct

    10
  2. A and D. Because there is a space in the txt file (texts 2) between text and 2, we need either single quote ‘ ‘ or double quote ” ” to identify this file. If it is only texts.txt, then E would also work.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.