this post was submitted on 09 Dec 2024
303 points (97.8% liked)

Linux

48555 readers
800 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
[–] [email protected] 52 points 2 days 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.

[–] [email protected] 26 points 2 days 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

[–] [email protected] 14 points 1 day ago* (last edited 1 day 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.

[–] [email protected] 3 points 1 day 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 😭

[–] [email protected] 5 points 1 day ago

This still makes me laugh:

[–] [email protected] 4 points 1 day ago* (last edited 1 day 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.

[–] Agent641 9 points 1 day ago

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