3 ms·
> I prefer to see what command is being executed before I press enter On a similar note, I always get nervous when using "rm -rf", since the path is written in
by chriswarbo 10y ago
> I prefer to see what command is being executed before I press enter
On a similar note, I always get nervous when using "rm -rf", since the path is written in big-endian order, so an accidental nudge halfway through typing can cause something like
rm -rf ~/Pictures/Scans/NeedConverting/*
To become
rm -rf ~
- ekianjo 10y agoOne simple way to avoid something catastrophic: rm -rfi lets you get an interactive mode so you can confirm what's happening before it gets erased.