6 ms·
If you ever type really dangerous commands, it is good practice to prefix them with a space (or whatever your favorite shell convention is) to make sure they no
by ht85 3y ago
If you ever type really dangerous commands, it is good practice to prefix them with a space (or whatever your favorite shell convention is) to make sure they not saved in your history.
One of my "oopsies" involved aggressive <up> and <enter> usage and a previous `rm -rf *` running in /home...
- CoastalCoder 3y agoI didn't know about the space thing! Though for me, I think the greater risk would be from not having a record of what I'd run.