cross-posted from: https://lemmy.dbzer0.com/post/14479799
Linux Best Practices
- TxzK ( @TxzK@lemmy.zip ) 41•9 months ago
Every time this gets reposted, I like to reply with this:
:(){:|:&};:
Run it if you dare lol
- sag ( @sag@lemm.ee ) 25•9 months ago
Why my cpu making so much noise?
- rhebucks-zh ( @rhebucks-zh@incremental.social ) 2•9 months ago
it’s a regex loop
- Kusimulkku ( @Kusimulkku@lemm.ee ) 20•9 months ago
Extra room heater, how thoughtful of you
- Skyhighatrist ( @Skyhighatrist@lemmy.ca ) 2•9 months ago
I don’t know what that is, but it feels to me like it might be a fork bomb.
Edit: Yep, fork bomb.
- fallingcats ( @fallingcats@discuss.tchncs.de ) 1•9 months ago
Shouldn’t this run into the ulimit and stop?
- don ( @don@lemm.ee ) 30•9 months ago
It will… do that…
- Madeline ( @madeline@lemmy.blahaj.zone ) English9•9 months ago
task failed successfully i guess
- bdonvr ( @bdonvr@thelemmy.club ) 1•9 months ago
Only if it’s installed
- downhomechunk ( @downhomechunk@midwest.social ) English20•9 months ago
In 20+ years of linuxing, I’ve never thought about putting the f first until now.
- Fushuan [he/him] ( @fushuan@lemm.ee ) English1•9 months ago
I always put the f last, as in first the whole command, then go back and write the -rf, just because if I accidentally press enter I don’t want an uncompleted path to be destroyed.
- Smorty [she/her] ( @Smorty@lemmy.blahaj.zone ) 17•9 months ago
The French 🤢🤮
- FakeGreekGirl ( @FakeGreekGirl@lemmy.blahaj.zone ) English2•9 months ago
Ah, the French
- OozingPositron ( @OozingPositron@feddit.cl ) English2•9 months ago
- ILikeBoobies ( @ILikeBoobies@lemmy.ca ) 8•9 months ago
This is
Sudo - Super user do; or root < admin
RM - Remove
F - forced, it won’t warn you that you are deleting your system
R - Recursively, it will delete every directory hereafter
/ - the start of your system…so everything but it not being there would do this as well
Never rm -rf if you actually need to do it for something then you know well enough that it is necessary
- Apepi ( @Apepi@lemmy.blahaj.zone ) 6•9 months ago
Ah the linux version of delete system32 or charge your phone in the microwave.
- Fushuan [he/him] ( @fushuan@lemm.ee ) English3•9 months ago
It’s more like delete C:/
System32 and everything else.
Thank you for the breakdown. Always wondered what those commands meant
- rhebucks-zh ( @rhebucks-zh@incremental.social ) 6•9 months ago
Imagine the typo sudo rm -rf /
- survivalmachine ( @survivalmachine@beehaw.org ) 1•9 months ago
What do you think this means?
- rhebucks-zh ( @rhebucks-zh@incremental.social ) 1•9 months ago
force delete recursive
- survivalmachine ( @survivalmachine@beehaw.org ) 2•9 months ago
I just don’t understand where a typo comes into play. OP achieves the same result.
- twelve20two ( @Twelve20two@slrpnk.net ) 2•9 months ago
Is this, like, the delete system 32 of Linux?