this post was submitted on 09 Dec 2024
318 points (97.6% liked)

Linux

48691 readers
1114 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Found some very special "make it look hacky" bash in criminal minds.

you are viewing a single comment's thread
view the rest of the comments
[–] z3rOR0ne@lemmy.ml 55 points 2 weeks ago (3 children)

The only exception is Mr. Robot. Check this command the main character runs as root:

shred -uz /*

Only show I've seen where they show real commands with really damaging effects.

[–] laurelraven@lemmy.zip 26 points 2 weeks ago (1 children)

I remember watching the first episode and he brought up a terminal and thinking "here we go" then..."holy shit... Those are real commands"

That and the explanations I was ready to laugh at for being terrible, then... Wait, no, those actually make sense

[–] menemen@lemmy.ml 14 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

And it is also great television. For me personally, the best I've ever seen. Whoever reads this and hasn't seen it already: Do it! And watch it all! Some might think season 2 is a little slow (I still liked it), but season 3 is just incredible.

[–] laurelraven@lemmy.zip 4 points 2 weeks ago (1 children)

Yeah, I'll admit I kind of stalled out in season 2 but I've meant to go back and finish... It would be easier if my wife liked that sort of TV 😅 I'll just have to watch it alone 😭

[–] Cyber@feddit.uk 12 points 2 weeks ago

This still makes me laugh:

[–] Agent641@lemmy.world 10 points 2 weeks ago

I'm curious what this does, I'll run it when I get home.

[–] HiddenLayer555@lemmy.ml 5 points 2 weeks ago* (last edited 2 weeks ago)

That should only shred the top level files in the root directory though. Since shred doesn't do it recursively and doesn't know what to do with subdirectories.

Do any distros store system critical files at the root directory? It's all subdirectories on mine. I guess if you were storing important data files in the root directory they would get shredded but that's really bad practice anyway and I doubt it's super common.