Posted on

Linux LX0-104 Exam 2 samples – Question 2

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

Correct Answer: C
Section: Shells, Scripting and Data Management

Leave a Reply

Your email address will not be published. Required fields are marked *