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.)
@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 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!
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: !programmerhumor@lemmy.ml
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.
I tried but got an error:
Is it expected ? Did I type something wrong ? I’m confused…
It means you have a virus
I know a guy that can fix it if you send me your ssh keys
Both of them?
@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
@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
I just tried your command and it yields a lot of
Permission denied
. Is it expected or your command is incomplete ?@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.
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
Not with busybox’s
rm
🤘sudo cat /dev/urandom > /dev/sda*
it does not work, it says
permission denied
. Is there anything I should do ?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!
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