Ordinarily typing cmd > file will overwrite the file if it already exists. I often type >> to append, but get very worried about accidentally typing > and destroying my file. Is there an alternative command which doesn't risk me destroying a file if I mistype? Or alternatively, a way to make > ask for permission before overwriting existing files?
Asked
Active
Viewed 30 times
0
preferred_anon
- 233