Which bash option will prevent you from overwriting a file with a “>”?
A.
set o safe
B.
set o noglob
C.
set o noclobber
D.
set o append
E.
set o nooverwrite
Which bash option will prevent you from overwriting a file with a “>”?
Which bash option will prevent you from overwriting a file with a “>”?
A.
set o safe
B.
set o noglob
C.
set o noclobber
D.
set o append
E.
set o nooverwrite
The answer is right.
But the correct command syntax is:
set -o noclobber
Also, this question belongs to LX0-102 exam, not LX0-101.