Re:I Accidentally Deleted 7TB of Videos Before Going to Prod...
by samus on Thursday May 05, 2022 @05:27PM
(#31278605)
Spelling out loudly the command you are about to execute and explaining the reasoning behind it can help a lot too.
[ Parent
| on HN ]
Re:I Accidentally Deleted 7TB of Videos Before Going to Prod...
by akavel on Friday May 06, 2022 @10:58AM
(#31285948)
Ok, but am I to do it on every single command I do on my terminal? Or on which ones specifically? If the problem we're trying to solve is that I can sometimes overlook the "dangerous commands" among "safe ones", by definition of overlooking it won't work if I tell myself to "spell out the command only in case of the dangerous ones", no?
I'm honestly trying to think of the way how I could approach this for myself, just I don't see a clear solution yet that wouldn't require me to spell out everything I type in my terminal window.