Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
traviscj
8y ago
0 comments
Save
Share
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.
0 comments
1 comments · 1 top-level
top
newest
oldest
vram22
8y ago
You can use the bash setting called noclobber to prevent such accidental deletion.
https://en.wikipedia.org/wiki/Clobbering
j
/
k
navigate · click thread line to collapse