oriond ( oriond@lemmy.ml ) to Asklemmy@lemmy.ml · 3 years agoWhat is the most destroying command you can type in the Linux terminal?message-squaremessage-square58linkfedilinkarrow-up183
arrow-up183message-squareWhat is the most destroying command you can type in the Linux terminal?oriond ( oriond@lemmy.ml ) to Asklemmy@lemmy.ml · 3 years agomessage-square58linkfedilink
minus-squaresndrtj ( sndrtj@feddit.nl ) linkfedilinkarrow-up10·3 years agoSomething I did to someone who needed to know the effects of not locking ones screen when away: alias ls to echo 'Error: file not found'. Took them a good hour to figure out what was wrong with their machine 😅
minus-squareFIST_FILLET ( FIST_FILLET@lemmy.ml ) linkfedilinkarrow-up2·3 years agolinux rookie here, what’s the command to reverse an alias then? do you just “alias ls ls” to overwrite it?
minus-squaresndrtj ( sndrtj@feddit.nl ) linkfedilinkarrow-up4·3 years agoBacklash. \ls would get you regular ls. Note that ls already is aliased on some popular distros with some common flags.
minus-squareflashgnash ( flashgnash@lemm.ee ) linkfedilinkarrow-up1·3 years agoAlias ‘ls’ to ‘sl’ for fun times
Something I did to someone who needed to know the effects of not locking ones screen when away: alias
lstoecho 'Error: file not found'. Took them a good hour to figure out what was wrong with their machine 😅linux rookie here, what’s the command to reverse an alias then? do you just “alias ls ls” to overwrite it?
Backlash. \ls would get you regular ls. Note that ls already is aliased on some popular distros with some common flags.
There’s unalias
Alias ‘ls’ to ‘sl’ for fun times