gioia://news
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
oriond@lemmy.ml to Asklemmy@lemmy.ml · 1 year ago

What is the most destroying command you can type in the Linux terminal?

message-square
message-square
142
fedilink
155
message-square

What is the most destroying command you can type in the Linux terminal?

oriond@lemmy.ml to Asklemmy@lemmy.ml · 1 year ago
message-square
142
fedilink
  • rattking@lemmy.ml
    link
    fedilink
    arrow-up
    59
    ·
    edit-2
    1 year ago

    deleted by creator

    • Meltrax@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      1 year ago

      Glorious.

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

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

        • sndrtj@feddit.nl
          link
          fedilink
          arrow-up
          4
          ·
          1 year ago

          Backlash. \ls would get you regular ls. Note that ls already is aliased on some popular distros with some common flags.

        • Chobbes@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          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.

        • gingerjoos@beehaw.org
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          There’s unalias

      • flashgnash@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Alias ‘ls’ to ‘sl’ for fun times

    • BobGnarley@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      What’s this do?

      • TheGalacticVoid@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        1 year 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
      ·
      1 year ago

      That’s nice.

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

Asklemmy@lemmy.ml

asklemmy@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !asklemmy@lemmy.ml

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it’s welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

  • !lemmy_support@lemmy.ml
  • !fediverse@lemmy.ml
  • !selfhosted@lemmy.world

Looking for a community?

  • Lemmyverse: community search
  • sub.rehab: maps old subreddits to fediverse options, marks official as such
  • !lemmy411@lemmy.ca: a community for finding communities

Icon by @Double_A@discuss.tchncs.de

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.02K users / day
  • 3.03K users / week
  • 6.93K users / month
  • 19.6K users / 6 months
  • 1 local subscriber
  • 47.9K subscribers
  • 5.68K Posts
  • 266K Comments
  • Modlog
  • mods:
  • Evan@lemmy.ml
  • mekhos@lemmy.ml
  • tmpod@lemmy.pt
  • OrangeSlice@lemmy.ml
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org