• sndrtj@feddit.nl
      link
      fedilink
      arrow-up
      10
      ·
      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 😅

      • TheGalacticVoid@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        6 months ago

        My guess is that it takes the output of the “exit” command and writes it to .bashrc. I believe this would make it impossible to open the terminal, but it could just close the terminal and do nothing instead.

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

      That’s nice.

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