LPI
117-102 · Question #32
117-102 Question #32: Real Exam Question with Answer & Explanation
The correct answer is C. set -o noclobber. See the full explanation below for the reasoning.
Question
What BASH environment variable will prevent you from overwriting a file with a ">" or ">>"?
Options
- Aset -o safe
- Bset -o noglob
- Cset -o noclobber
- Dset -o append
- Eset -o nooverwrite
Community Discussion
No community discussion yet for this question.