News for hackers. Stuff that matters.
Re:Interesting commands for the Linux shell by traviscj on Thursday September 14, 2017 @11:16AM (#15248853)
I prefer cat because > vs < is an easy typo to make but one clobbers the file. Happy to pay the performance penalty as insurance against that.
Re:Interesting commands for the Linux shell by vram22 on Thursday September 14, 2017 @12:24PM (#15249526)
You can use the bash setting called noclobber to prevent such accidental deletion.

https://en.wikipedia.org/wiki/Clobbering