30/09/2018, 18:30
Protecting files with noclobber
HowTo Keep Files Safe From Accidental Overwriting With noclobber BASH Shell...
The general format for redirecting output on Bash/ksh shell is: command > output.txt command > /dev/device However, you may end up overwriting file accidentally using > operator. For example: $ ls -l *.c > output.txt
Bài liên quan