nerdexam
CompTIA

LX0-101 · Question #88

Which bash option will prevent you from overwriting a file with a ">"?

The correct answer is C. set o noclobber. See the full explanation below for the reasoning.

Question

Which bash option will prevent you from overwriting a file with a ">"?

Options

  • Aset o safe
  • Bset o noglob
  • Cset o noclobber
  • Dset o append
  • Eset o nooverwrite

How the community answered

(63 responses)
  • A
    2% (1)
  • B
    13% (8)
  • C
    76% (48)
  • D
    3% (2)
  • E
    6% (4)

Community Discussion

No community discussion yet for this question.

Full LX0-101 Practice