4 ms·
> Aliasing rm to a tool like safe-rm or rmtrash so that you can’t accidentally delete something you shouldn’t (or just rm -i) Nope, not happening. I think I wo
by eternityforest 3y ago
> Aliasing rm to a tool like safe-rm or rmtrash so that you can’t accidentally delete something you shouldn’t (or just rm -i)
Nope, not happening. I think I would learn to be less careful. I am a big fan of predictability and control and avoid customized stuff, and I don't really like doing the same thing in different ways(not sure if that's the best for brain health long term but it sure is less confusing and seems less error prone).
Instead I just... Don't use rm. And if I have to I will triple check it. It's not something I want to "get comfortable with", manual file management is something the GUI is good at, so I use the GUI. Same with dd. I use the pi flasher util, or etcher for non-pi things.
For the stuff you do want to learn I think a killer app is the most important. I doubt most people would even care about cli at all without one.
For me, it's SSH, and being able to programmatically tell a raspi to not destroy it's own SD card in dumb ways with nonsense writes. And GNU units.
I don't have a folder of little personal use scripts laying around, I think a lot of that is overrated outside specific use cases that I don't do a lot of work with. But nonetheless for the maybe 2% of tasks I think are well suited for shell it's pretty great.