oriond@lemmy.ml to Asklemmy@lemmy.ml · 11 months agoWhat is the most destroying command you can type in the Linux terminal?message-squaremessage-square76fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1message-squareWhat is the most destroying command you can type in the Linux terminal?oriond@lemmy.ml to Asklemmy@lemmy.ml · 11 months agomessage-square76fedilink
minus-squarerattking@lemmy.mllinkfedilinkarrow-up0·edit-211 months agoIf you’re just looking for a little fun echo exit >~/.bashrc
minus-squaresndrtj@feddit.nllinkfedilinkarrow-up0·10 months 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@lemmy.mllinkfedilinkarrow-up0·10 months agolinux rookie here, what’s the command to reverse an alias then? do you just “alias ls ls” to overwrite it?
minus-squaresndrtj@feddit.nllinkfedilinkarrow-up0·10 months agoBacklash. \ls would get you regular ls. Note that ls already is aliased on some popular distros with some common flags.
If you’re just looking for a little fun
echo exit >~/.bashrc
Something I did to someone who needed to know the effects of not locking ones screen when away: alias
ls
toecho '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
What’s this do?