oriond@lemmy.ml to Asklemmy@lemmy.ml · 11 months agoWhat is the most destroying command you can type in the Linux terminal?message-squaremessage-square145fedilinkarrow-up1162arrow-down19
arrow-up1153arrow-down1message-squareWhat is the most destroying command you can type in the Linux terminal?oriond@lemmy.ml to Asklemmy@lemmy.ml · 11 months agomessage-square145fedilink
minus-squareFIST_FILLET@lemmy.mllinkfedilinkarrow-up2·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-up4·10 months agoBacklash. \ls would get you regular ls. Note that ls already is aliased on some popular distros with some common flags.
minus-squareChobbes@lemmy.worldlinkfedilinkarrow-up3·10 months agoYou can use unalias, or you can use a backslash in front of an aliased command or surround it in double quotes to ignore the alias temporarily.
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
You can use unalias, or you can use a backslash in front of an aliased command or surround it in double quotes to ignore the alias temporarily.