[email protected]
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to [email protected] • 1 year ago

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

message-square
141
fedilink
155
message-square

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

@[email protected] to [email protected] • 1 year ago
message-square
141
fedilink
  • @[email protected]
    link
    fedilink
    59•
    edit-2
    1 year ago

    deleted by creator

    • @[email protected]
      link
      fedilink
      10•1 year ago

      Glorious.

    • @[email protected]
      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 😅

      • @[email protected]
        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?

        • @[email protected]
          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.

        • gingerjoos
          link
          fedilink
          3•1 year ago

          There’s unalias

        • @[email protected]
          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.

      • @[email protected]
        link
        fedilink
        1•1 year ago

        Alias ‘ls’ to ‘sl’ for fun times

    • @[email protected]
      link
      fedilink
      4•1 year ago

      What’s this do?

      • @[email protected]
        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.

    • @[email protected]
      link
      fedilink
      3•1 year ago

      That’s nice.

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

[email protected]

[email protected]

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: [email protected]

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?

  • [email protected]
  • [email protected]
  • [email protected]

Looking for a community?

  • Lemmyverse: community search
  • sub.rehab: maps old subreddits to fediverse options, marks official as such
  • [email protected]: a community for finding communities

Icon by @[email protected]

  • 631 users / day
  • 2.86K users / week
  • 6.6K users / month
  • 19.2K users / 6 months
  • 48.1K subscribers
  • 6.78K Posts
  • 355K Comments
  • Modlog
  • mods:
  • Evan
  • mekhos
  • tmpod
  • OrangeSlice
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org