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)- B4% (1)
- C83% (19)
- D9% (2)
- E4% (1)
Community Discussion
No community discussion yet for this question.