Linux system prompts "cannot overwrite existing file" solution

  
problem description:
Linux operating system, using the "<" or ">" symbol to redirect content to a file, the system prompts "cannot overwrite existing file" , writing to the file failed.

Analysis:
this situation is due to the system environment noclobber set of options, which will prevent overwriting files redirect.

Solution:
execute "set + o noclobber" command, lifting noclobber option.
Copyright © Windows knowledge All Rights Reserved