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

oriond@lemmy.ml to Asklemmy@lemmy.ml – 155 points –
138

You are viewing a single comment

Can you recover from that?

I imagine if you can mount from a busybox possibly

Then figure out the correct perms.

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

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.

2 more...
2 more...

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

2 more...