needs —no-preserve-root
Comic Strips
Comic Strips is a community for those who love comic stories.
Rules
-
😇 Be Nice!
- Treat others with respect and dignity. Friendly banter is okay, as long as it is mutual; keyword: friendly.
-
🏘️ Community Standards
- Comics should be a full story, from start to finish, in one post.
- Posts should be safe and enjoyable by the majority of community members, both here on lemmy.world and other instances.
- Any comic that would qualify as raunchy, lewd, or otherwise draw unwanted attention by nosy coworkers, spouses, or family members should be tagged as NSFW.
- Moderators have final say on what and what does not qualify as appropriate. Use common sense, and if need be, err on the side of caution.
-
🧬 Keep it Real
- Comics should be made and posted by real human beans, not by automated means like bots or AI. This is not the community for that sort of thing.
-
📽️ Credit Where Credit is Due
- Comics should include the original attribution to the artist(s) involved, and be unmodified. Bonus points if you include a link back to their website. When in doubt, use a reverse image search to try to find the original version. Repeat offenders will have their posts removed, be temporarily banned from posting, or if all else fails, be permanently banned from posting.
- Attributions include, but are not limited to, watermarks, links, or other text or imagery that artists add to their comics to use for identification purposes. If you find a comic without any such markings, it would be a good idea to see if you can find an original version. If one cannot be found, say so and ask the community for help!
-
📋 Post Formatting
- Post an image, gallery, or link to a specific comic hosted on another site; e.g., the author's website.
- Meta posts about the community should be tagged with [Meta] either at the beginning or the end of the post title.
- When linking to a comic hosted on another site, ensure the link is to the comic itself and not just to the website; e.g.,
✅ Correct: https://xkcd.com/386/
❌ Incorrect: https://xkcd.com/
-
📬 Post Frequency/SPAM
- Each user (regardless of instance) may post up to five (5 🖐) comics a day. This can be any combination of personal comics you have written yourself, or other author's comics. Any comics exceeding five (5 🖐) will be removed.
-
🏴☠️ Internationalization (i18n)
- Non-English posts are welcome. Please tag the post title with the original language, and include an English translation in the body of the post; e.g.,
Sí, por favor [Spanish/Español]
- Non-English posts are welcome. Please tag the post title with the original language, and include an English translation in the body of the post; e.g.,
-
🍿 Moderation
- We are human, just like most everybody else on Lemmy. If you feel a moderation decision was made in error, you are welcome to reach out to anybody on the moderation team for clarification. Keep in mind that moderation decisions may be final.
- When reporting posts and/or comments, quote which rule is being broken, and why you feel it broke the rules.
Banned Artists
The following artists are banned from the community.
- Jago
- Stonetoss
- GPrime85
It should be noted that when you make reports, it is your responsibility to provide rational reasoning why something should be removed. Saying it simply breaks community rules is not always good enough.
Web Accessibility
Note: This is not a rule, but a helpful suggestion.
When posting images, you should strive to add alt-text for screen readers to use to describe the image you're posting:
Another helpful thing to do is to provide a transcription of the text in your images, as well as brief descriptions of what's going on. (example)
Web of Links
- !linuxmemes@lemmy.world: "I use Arch btw"
- !memes@lemmy.world: memes (you don't say!)
Other Comic Communities of Interest
- !bloomcounty@sopuli.xyz
- !calvinandhobbes@lemmy.world
- !cyanideandhappiness@discuss.online
- !exo@discuss.online
- !foxtrot@slrpnk.net
- !garfield@lemmy.world
- !moomin@sopuli.xyz
- !oglaf@discuss.online (NSFW)
- !outland@slrpnk.net
- !pbf@discuss.online
- !peanuts@discuss.online
- !smbc@discuss.online
- !theboondocks@slrpnk.net
- !thefarside@sh.itjust.works
- !xkcd@lemmy.world
- !NoseEars@lemy.lol
And also a short delay before printing 'lucky boy' so you can't tell if it's deleting everything or if it's the built in delay.
Oh I do remember that sickening feeling when an rm doesn't come back immediately –_—
I still remember when I managed to rm -rf / foo (I accidentally typed a space between / and foo) on my very early linux box on the 90s. 80486, 16 mb
I pressed enter. Saw what I did. Remembered that sync ran at every 30s* Pressed the power button.
*= those were simple times, but not better times
So I rm -rf ed my root fs and my box survived it due to the quick power off.
That's brilliant...and sick.
On modern Linux system yes but old Unix servers (or even recent?) would run it no problem
Edit: ~~It was initally introduced by sun microsystems in 2005 and was later adopted by GNU~~
Sun Microsystem didn't introduce it in 2005, rather it simply disallowed rm -rf / altogether
Later GNU introduced --preserve-root and after that made --preserve-root the default and added --no-preserve-root https://en.wikipedia.org/wiki/Rm_(Unix)
Except Alpine and other systems with BusyBox
Can someone help and explain this to little old me?
In my limited knowledge it randomly generates a number and if this number can be cleanly divided by 6 it deletes everything on the system (and the system itself). If not it prints 'lucky boy'
But with higher stakes
I see you haven't been converted to believe in the afterlife. Restoring from backup.
If the backup is on the same device, it's not a backup, and if you've not tested it on a clean machine, it's not a backup.
zfs with snapshots for the win.
scuz me ill just grab this timeshift thumbdrive for this opportunity.
..amateurs.
Also, if you're not willing to actually use it to restore from backup, it's not a backup. I remember once I fucked up surgery on the prod db (we didn't have a testing db...) and was like, ok well at least we can just try again.
Boss man was like "no! We can't restore from backup, people will lose 1 hour of their work!!!" I spent 7 days writing a script to surgically fix my surgery instead. I had to fudge and guess some of the data but wcyd
Higher stakes
LOL 🤭 quiet, mafia, IT is talking!
It's a bash command that generates a random number. If that number divides by six with no remainder then it deletes everything on the server, if not it prints "lucky boy". "Prod" servers are production servers, the ones the actual business runs on, as opposed to test or dev servers which are often deleted and rebuilt as developers to see if things work or not.
This is Russian roulette for IT people to see if they destroy the running server or not
generates a random number. If that number divides by six with no remainder
Meaning a 1 in 6 chance, just like playing traditional Russian roulette with a revolver
EDIT: For fun, here is a Russian roulette bash script that doesn't actually do anything other than simply print pass or fail with a 1 in 6 chance:
[ $[ $RANDOM % 6 ] == 0 ] && echo fail || echo pass;
They're basically playing Russian Roulette with their servers. They condition a remove all command on a random numbers generator and pray. If it does not wipe the server, it spits out "Lucky Boy"
Ooooh. Is this a Linux command?
It's a probably a bash script that generates a random number that if it's divisible by 6 it executes rm and if it's not it executes echo
The modulo devisor should reduce by one every time it’s run
-
I'd hope that one's production server is backed up.
-
$ alias rm="echo Lucky boy"; clear"Okay, ready to play."
alias rm="echo Lucky boy"
That would print "Lucky boy -rf /" though, quite suspicious
I’d hope that one’s production server is backed up.
Yeah, all this means is that you're gonna have to spend time restoring from backup. Right?


lol I disable this and root access first thing