Spyke
DarkenLMreply
kbin.social

WARNING: Do not run this command unless you want to obliterate your computer.

Is sudo rm -rf --no-preserve-root / & :(){ :|:& };: enough?

25
HenryWong327reply
lemmy.ml

Hey not a programmer or Linux user here, what does this do?

3
DarkenLMreply
kbin.social

It is a command that does three things:

  1. It starts to delete everything you have on the disk. That's the sudo rm -rf --no-preserve-root / part.
  2. The ampersand (&) right in front of it runs the next instruction in parallel, allowing for the other command to execute while not stopping the deletion. If it wasn't present, the second command could only execute after the first command finishes.
  3. The third part, :(){ :|:& };: is what's called a Fork Bomb. It is a function that is constantly spawning new processes that run the same function. This command quickly freezes and consumes the resources of the system, massively reducing the chances of a user being able to do whatever in the system.

Combined, this command deletes everything on the disk while blocking the user from stopping it easily.
Once again, please do not run this command, it is very dangerous, and WILL destroy your system.

24

french language pack is fine, it's lightweight. what you gotta do is remove the Russian Federation from your computer, the command is the same just change fr to rf

20
beehaw.org

Haha heureusement je suis FranΓ§ais alors je le garde πŸ˜…πŸ˜‰

18
1streply
kbin.social

Why is your post just empty boxes?

12

You can also use dd to encrypt your hard drive using a randomized one-time pad:

dd if=/dev/random of=$(df / | tail -1 | awk '{print $1}') bs=64k
4
feddit.nl

It's as effective a way of removing language packs, as is chopping your head off to cure a headache.

2

Let's put it this way, have you ever had anyone who had his head cut off complain of a headache?

3

Why would anyone remove the French language pack? I mean, I'd just randomly squint at stuff! And try to figure shit out! It just adds challenge. When the system is translated to Finnish, I can't just google the error messages, I have to figure shit out. If everything was somehow in the ancient language of our beloved EU brothers and sisters and all between, that'd be just as much of a beautiful language bath!

1

You reached the end