Introduction to Linux I Chapter 10 Exam

Introduction to Linux I Chapter 10 Exam

  1. Question ID 545

    This stream is the output of a command operating normally:

    • stdout
    • stderr
    • stdin
    • stdnorm
  2. Question ID 546

    Many commands that read text files will also read from this stream:

    • pipe
    • stdin
    • redirect
    • input
  3. Question ID 547

    If you want to overwrite a file by redirecting the output of a command, you can use:

    • &
    • >
    • }
    • |
  4. Question ID 548

    To redirect the errors that are output by a command, you can use:

    • @
    • 2>
    • 2@
    • 2&
  5. Question ID 549

    Two or more commands combined with the “|” between them form a:

    • convoy
    • caravan
    • command line
    • pipeline
  6. Question ID 550

    Which two symbols can effectively redirect stdin to a command?

    (choose two)

    • >
    • !
    • |
    • <

  7. Question ID 551

    If you want to append a file with the normal output of a command, you can use:

    • 2>>
    • >
    • >>
    • 1>
  8. Question ID 552

    To send the normal and error output of a command to a single file, you can use:

    • 2>
    • >
    • 1>
    • &>
  9. Question ID 910

    Which of the following commands will take the standard output of the ls and put it into the /tmp/output.txt file:

    • ls 2 | /tmp/output
    • ls 2> /tmp/output.txt
    • ls > /tmp/output.txt
    • ls | /tmp/output.txt
  10. Question ID 911

    Which of the following commands will take the standard error of the ls command and put it into the /tmp/output.txt file:

    • ls 2> /tmp/output.txt
    • ls | /tmp/output.txt
    • ls 2 | /tmp/output
    • ls > /tmp/output.txt

Comments

comments