4 ms·
alias rm to rm -i (always prompt) I don't do this because my idiocy must be punished disproportionately. Also, you end up automatically pressing y enter.
by hyperpallium 8y ago
alias rm to rm -i (always prompt)
I don't do this because my idiocy must be punished disproportionately. Also, you end up automatically pressing y enter.
- arminiusreturns 8y agosysadmin here, yep, aliases are how I deal with dangerous commands as well.
- michaelcampbell 8y agoAnd when you get used to your carefully curated crutches and have to work on someone else's machine, that's where the fun starts. Aliases can be way more dangerous; think about what you're doing. This is what backups are for.
- arminiusreturns 8y agoThis is true, which is why I dont use them much!