dormi.zone
  • 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
139
fedilink
164
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
139
fedilink
  • @rattking@lemmy.ml
    link
    fedilink
    59•
    edit-2
    1 year ago

    deleted by creator

    • @Meltrax@lemmy.world
      link
      fedilink
      10•1 year ago

      Glorious.

    • @sndrtj@feddit.nl
      link
      fedilink
      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
        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
          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
          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
          link
          fedilink
          3•1 year ago

          There’s unalias

      • @flashgnash@lemm.ee
        link
        fedilink
        1•1 year ago

        Alias ‘ls’ to ‘sl’ for fun times

    • @neonred@lemmy.world
      link
      fedilink
      4•1 year ago

      That’s nice.

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

    • @BobGnarley@lemm.ee
      link
      fedilink
      4•1 year ago

      What’s this do?

      • @TheGalacticVoid@lemm.ee
        link
        fedilink
        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.

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

  • 644 users / day
  • 2.63K users / week
  • 6.67K users / month
  • 18.7K users / 6 months
  • 48K subscribers
  • 7.06K Posts
  • 360K Comments
  • Modlog
  • mods:
  • Evan
  • mekhos
  • tmpod
  • OrangeSlice
  • BE: 0.19.3
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org