Which Bash option prevents a user from accidentally overwriting a file with a ">"?

Which Bash option prevents a user from accidentally 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

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments