nerdexam
LPI

102-350 · Question #119

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

(23 responses)
  • B
    4% (1)
  • C
    83% (19)
  • D
    9% (2)
  • E
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 102-350 Practice