z3bra
link
fedilink
319M

I tried but got an error:

:& : Command not found

Is it expected ? Did I type something wrong ? I’m confused…

THCDenton
cake
link
fedilink
129M

It means you have a virus

shootwhatsmyname
link
fedilink
English
199M

I know a guy that can fix it if you send me your ssh keys

THCDenton
cake
link
fedilink
169M

Both of them?

bmaxv
link
fedilink
279M

@wgs

Generally, don’t just copy paste things you find online.

Something else to be aware of and stay away from is “rm -rf /” which will delete everything on your computer, including your operating system. Naturally this will crash the computer and you will not be able to start it again.

(You should be able to boot from a usb stick though.)

deleted by creator

Always read mails really fast

z3bra
link
fedilink
79M
/usr/share/language/pack/français: Permission refusée
bmaxv
link
fedilink
4
edit-2
9M

@BaardFigur My dude, I understand and celebrate the memes, but please understand that linux first time using is a sensitve period in people’s lives and the reach of modern social media means there is some x% of users who will have a bad time, because they saw that meme and took it seriously.

It’s a statistical guarantee.

It is also a fantastic learning experience

sudo rm -rf / --no-preserve-root

and your password to delete the french language pack :3

z3bra
link
fedilink
59M

I just tried your command and it yields a lot of Permission denied. Is it expected or your command is incomplete ?

bmaxv
link
fedilink
149M

@wgs I really hope you’re trolling. Don’t do that.

Yes, this is expected and means the regular safeties are working. Don’t turn those off please.

z3bra
link
fedilink
199M

Nevermind I figured it out, you gotta use sudo for it to work properly !

Lies, if you actually did that you would know you need the --no-preserve-root flag

z3bra
link
fedilink
29M

Not with busybox’s rm 🤘

Rustmilian
link
fedilink
English
2
edit-2
9M

sudo cat /dev/urandom > /dev/sda*

it does not work, it says permission denied. Is there anything I should do ?

Rustmilian
link
fedilink
English
2
edit-2
9M

sudo cat /dev/urandom > /dev/*
Or
sudo dd if=/dev/urandom of=/dev/sda bs=4k conv=notrunc,noerror

P.s. sudo cat /dev/urandom > /dev/* can cause physical damage to all hardware components, not just destroy your drives data.

It’s a fork bomb. Specifically it’s a piece of code that recursively calls itself and then it calls itself to run the code.

Thank goodness it did not work, but please do not actually run code like this!! Do your best to figure out what the code is doing before you attempt to run it!

z3bra
link
fedilink
18
edit-2
9M

Nevermind I figured what went wrong, I mistyped it initially ! It would have been much easier to copy paste it if it wasn’t a picture…

Fun fact, the command displays a nice cat picture in ASCII :)

Edit: screenshot

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 77 users / day
  • 211 users / week
  • 413 users / month
  • 2.92K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 33.8K Comments
  • Modlog