Which bash option will prevent you from overwriting a file with a ">"?

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



Leave a Reply 1

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


Mohannad Sobhy

Mohannad Sobhy

The answer is right.
But the correct command syntax is:
set -o noclobber

Also, this question belongs to LX0-102 exam, not LX0-101.