The bash noclobber option prevents one from overwriting files with redirection. But sometimes I really want to. csh has a similar option and it can be over-ridden by putting a ! before the filenames. Is there any way to do this with bash?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
||||
|
|
|
Yes. Append
Visit this tutorial about the noclobber option. It might be of help. |
||||
|
|
|
Use
However,
|
||||
|
|