nerdexam
LPI

101-350 · Question #74

In order to use the output of ls to overwrite a file called bazz, which of the following command lines would you use?

The correct answer is A. ls > bazz. See the full explanation below for the reasoning.

Question

In order to use the output of ls to overwrite a file called bazz, which of the following command lines would you use?

Options

  • Als > bazz
  • Bls >& bazz
  • Cls &> bazz
  • Dls >> bazz

How the community answered

(21 responses)
  • A
    76% (16)
  • B
    14% (3)
  • C
    5% (1)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 101-350 Practice