nerdexam
Oracle

1Z0-876 · Question #133

Jane has stored files in a compressed tar archive. She extracts the data with the following command: $ zcat keyfiles.tar.Z | tar tvf - Examine the command line. What is the purpose of the - option…

The correct answer is B. The - reads the file argument to the tar command from stdin. See the full explanation below for the reasoning.

Question

Jane has stored files in a compressed tar archive. She extracts the data with the following command:

$ zcat keyfiles.tar.Z | tar tvf - Examine the command line. What is the purpose of the - option passed to the tar command?

Options

  • AThe - disables the tar commands output.
  • BThe - reads the file argument to the tar command from stdin.
  • CThe - tells the tar command to uncompress the input.
  • DThe - causes the tar command output to be sent to disk.

How the community answered

(25 responses)
  • A
    16% (4)
  • B
    76% (19)
  • C
    4% (1)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-876 Practice