• sndrtj@feddit.nl
      cake
      link
      fedilink
      arrow-up
      9
      ·
      6 months ago

      Something 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 😅

      • FIST_FILLET@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        6 months ago

        linux rookie here, what’s the command to reverse an alias then? do you just “alias ls ls” to overwrite it?

    • neonred@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      6 months ago

      That’s nice.

      using systemctl poweroff adds a bit of extra round trip time…