Lemmings.world
  • Communities
  • Create Post
  • Create Community
  • 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
link
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
link
fedilink
  • Suburbanl3g3nd
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    Can you recover from that?

    • utopianfiat@lemmy.world
      link
      fedilink
      English
      arrow-up
      14
      ·
      1 year ago

      I imagine if you can mount from a busybox possibly

      • grabyourmotherskeys@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        1 year ago

        Then figure out the correct perms.

        • CalicoJack@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          13
          ·
          1 year ago

          Eh, just hit it with the 777 and pray. Then swear at it some more.

          • rattking@lemmy.ml
            link
            fedilink
            arrow-up
            5
            ·
            1 year ago

            deleted by creator

            • LrdThndr@lemmy.world
              link
              fedilink
              arrow-up
              4
              ·
              1 year ago

              Boot from a usb stick, mount the fs, use the live environment’s chmod command to fix stuff.

          • nixcamic@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            1 year ago

            I think you’ll need to change passwd and shadow, maybe a few other files, but besides that it’ll mostly work.

          • grabyourmotherskeys@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            This is the traditional method.

        • utopianfiat@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 year ago

          Yeah that’s the painful part. A backup would be key here

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

            Worst case you boot up a virtual server with the same OS as your own and just go down the tree learning permissions, and it’s a deep dive learning experience.

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

      chroot in and then syncing the permissions from something like the equivalent of filesystem package in Arch for your distro should get you going

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.

  • 518 users / day
  • 2.95K users / week
  • 6.7K users / month
  • 19K users / 6 months
  • 187 local subscribers
  • 47.9K subscribers
  • 6.52K Posts
  • 337K Comments
  • Modlog
  • mods:
  • Evan@lemmy.ml
  • mekhos@lemmy.ml
  • tmpod@lemmy.pt
  • OrangeSlice@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org