lemmy.dexlit
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@oriond@lemmy.ml to Asklemmy@lemmy.ml • 2 years ago

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

message-square
142
fedilink
154
message-square

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

@oriond@lemmy.ml to Asklemmy@lemmy.ml • 2 years ago
message-square
142
fedilink
  • @rattking@lemmy.ml
    link
    fedilink
    58•
    edit-2
    2 years ago

    deleted by creator

    • @Meltrax@lemmy.world
      link
      fedilink
      10•2 years ago

      Glorious.

    • @sndrtj@feddit.nl
      link
      fedilink
      10•2 years 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•2 years 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•2 years ago

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

        • gingerjoos
          link
          fedilink
          3•2 years ago

          There’s unalias

        • @Chobbes@lemmy.world
          link
          fedilink
          3•2 years 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.

      • @flashgnash@lemm.ee
        link
        fedilink
        1•2 years ago

        Alias ‘ls’ to ‘sl’ for fun times

    • @BobGnarley@lemm.ee
      link
      fedilink
      4•2 years ago

      What’s this do?

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

  • 469 users / day
  • 2.04K users / week
  • 6.41K users / month
  • 18.7K users / 6 months
  • 49.2K subscribers
  • 6.39K Posts
  • 315K Comments
  • Modlog
  • mods:
  • Evan
  • mekhos
  • tmpod
  • OrangeSlice
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org