3 ms·
That doesn't work if . is at the end of $PATH though? Since the real ones would take precedence due to how executable searching works...?
by jabbany 3y ago
That doesn't work if . is at the end of $PATH though? Since the real ones would take precedence due to how executable searching works...?
- deleted 3y ago[deleted]
- locustous 3y agoYou never type sl on accident?
- jwilk 3y agoYou should install https://github.com/mtoyoda/sl https://github.com/mtoyoda/sl as a hardening measure.
- jabbany 3y agoSurprisingly, no... I thought I would, but somehow I've avoided this particular transpositional mistake (probably also due to my habit of setting up a ll or la macro for ls -l and ls -a). That said, I also don't actually put "." in my path, though this is mainly so I can avoid heisenbugs rather than a security concern...
- fhars 3y agoIf that defence works reliably or not depends on whether you have sl installed or not. SL(6) Games Manual SL(6) NAME sl - display animations aimed to correct users who acci- dentally enter sl instead of ls.