halubilo.social
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to [email protected] • 2 years ago

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

message-square
139
fedilink
155
message-square

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

@[email protected] to [email protected] • 2 years ago
message-square
139
fedilink
  • @[email protected]
    link
    fedilink
    8•2 years ago

    Can you recover from that?

    • @[email protected]
      link
      fedilink
      English
      14•2 years ago

      I imagine if you can mount from a busybox possibly

      • @[email protected]
        link
        fedilink
        8•2 years ago

        Then figure out the correct perms.

        • @[email protected]
          link
          fedilink
          13•2 years ago

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

          • @[email protected]
            link
            fedilink
            5•
            edit-2
            1 year ago

            deleted by creator

            • @[email protected]
              link
              fedilink
              4•2 years ago

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

          • @[email protected]
            link
            fedilink
            4•2 years ago

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

          • @[email protected]
            link
            fedilink
            2•2 years ago

            This is the traditional method.

        • @[email protected]
          link
          fedilink
          English
          4•2 years ago

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

          • @[email protected]
            link
            fedilink
            1•2 years 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.

    • @[email protected]
      link
      fedilink
      English
      1•2 years 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

[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]

  • 500 users / day
  • 1.93K users / week
  • 6.16K users / month
  • 18.3K users / 6 months
  • 49.1K subscribers
  • 7.3K Posts
  • 358K Comments
  • Modlog
  • mods:
  • Evan
  • mekhos
  • tmpod
  • OrangeSlice
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org