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)- A2% (1)
- B13% (8)
- C76% (48)
- D3% (2)
- E6% (4)
Community Discussion
No community discussion yet for this question.