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

Linux

48691 readers
1450 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.

top 50 comments
sorted by: hot top controversial new old
[–] Steamymoomilk@sh.itjust.works 102 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

NO MR HACKER PLEASE. NOT MY KDE DOTFILE!!!!

SOMBODY HELP, HE IS RICING MY DESKTOP ENVIRONMENT!!!

HES POSTING IT ON UNIXPORN THAT SICK FUCK

[–] fool@programming.dev 31 points 2 weeks ago (1 children)
[–] Sorse@discuss.tchncs.de 6 points 2 weeks ago* (last edited 1 week ago)

I upvoted, but the im*ge didn’t load, so I hope that it’s something funny or relevant

[–] Shady_Shiroe@lemmy.world 88 points 2 weeks ago (2 children)

Me when I forget why I'm in a directory, then remember, but forget again

[–] BCsven@lemmy.ca 32 points 2 weeks ago (1 children)

pwd even when the bash prompt tells me where I am

[–] wuphysics87@lemmy.ml 18 points 2 weeks ago

I forget pwd

load more comments (1 replies)
[–] hamburger@discuss.tchncs.de 64 points 2 weeks ago (1 children)
[–] intensely_human@lemm.ee 24 points 2 weeks ago (1 children)
[–] SidewaysHighways@lemmy.world 10 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

In root

In root again

Where am i? Let's go to root

cd /

load more comments (1 replies)
[–] EonNShadow@pawb.social 59 points 2 weeks ago (4 children)

I've told the wife I can't watch these shows because of how bad the tech always is, and I can't stop myself from losing suspension of disbelief when something like this happens

[–] 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) (2 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.

load more comments (2 replies)
[–] 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.

[–] melroy@kbin.melroy.org 10 points 2 weeks ago

Same issue here.. Now with the TV serie called "The Equalizer" (2021-*).

load more comments (2 replies)
[–] masterofn001@lemmy.ca 37 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

/root
root

~/../root

root/

ls /root/

I'm in!

[–] SynopsisTantilize@lemm.ee 18 points 2 weeks ago

This guy didn't LS or LL lol just changed directories 4 times and then....?

[–] Classy@sh.itjust.works 11 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Coulda thrown a couple ls -las around and he woulda been golden

[–] masterofn001@lemmy.ca 7 points 2 weeks ago

I have bash_alias open in another window so you can see:

ls='ls -alph --group-directories-first --color=always'

root='sudo rm -f / \ hunter2'

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

OMG, they just got root access!!!

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

Heresy? In my Linux command line? It's more likely than you think

[–] Subverb@lemmy.world 6 points 2 weeks ago
[–] umbrella@lemmy.ml 26 points 2 weeks ago* (last edited 2 weeks ago) (3 children)

at least output dmesg or get htop on the screen or something. you could find it on the internet if you look up commands to look like a hacker and thats not even 30 seconds of effort. i wonder how many other professions cringe at the shitty tv shows about their craft.

[–] Nemoder@lemmy.ml 19 points 2 weeks ago

We even have an app for it now: apt install hollywood

load more comments (1 replies)
[–] Ludrol@szmer.info 25 points 2 weeks ago (1 children)

There's a website for all your 1337 hax0r needs hackertyper.net

load more comments (1 replies)
[–] Routhinator@startrek.website 22 points 2 weeks ago (3 children)

That's some shitty 'hacking'...

But what makes these shell commands 'bash' exactly? Seems like this could be a half-dozen shells.

Also.. why are 'hackers' always using a shell in some gui program?

[–] octopus_ink@lemmy.ml 23 points 2 weeks ago (1 children)

Also… why are ‘hackers’ always using a shell in some gui program?

An actual CLI would frighten the windows users watching the show.

[–] MonkeMischief@lemmy.today 7 points 2 weeks ago

"Scary how hackers are always using DOS prompts isn't it?"

--Confused Windows Viewers

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

Yeah everyone knows the real way to hack Linux is to do tree /

Lots of weird looking text output means lots of hacking

[–] xorollo@leminal.space 9 points 2 weeks ago (1 children)

Making a new python environment

[–] Dkarma@lemmy.world 7 points 2 weeks ago

This guy pythons

[–] xtapa@discuss.tchncs.de 12 points 2 weeks ago (1 children)

I guess I just used bash as deonym for shell. Sry. It was late and I was tired.

[–] Routhinator@startrek.website 8 points 2 weeks ago

Hey no worries, I dunno why I even called that out. Lack of sleep due to back pain and responding to posts at 2am I guess

[–] dingdongitsabear@lemmy.ml 15 points 2 weeks ago (1 children)

just tried to re-watch "the girl in the spider's web", the not-sequel to fincher's masterpiece that's "the girl with the dragon tattoo". I remember hating it way back when and went in with a "how bad can it be" attitude... dios mio, what a colossal mountain of shit. the "hacking" in OP is hard sci-fi compared to this turdistan, and that's the least of its problems.

someone posted already the gell-mann amnesia effect and this applies to everything. how guns are portrayed in movies as magical. cars and how they're driven. the laughable naive cop shows. medical procedures. legal proceedings. journalists and their MO.

you hafta run your brain at 110% at all times to be able to somewhat disregard the learned idiocy that was programmed into you from an early age. here's hoping we have the infrastructure in place so generations that are coming can avoid becoming similarly handicapped.

load more comments (1 replies)
[–] A_Union_of_Kobolds@lemmy.world 15 points 2 weeks ago

It makes me happy that I actually understand this stuff now lol

[–] i_am_not_a_robot@feddit.uk 14 points 2 weeks ago (1 children)

I'm sure there's a community for nonsense TV/film hacking/Linux screens. I can't remember what it's called.

[–] IsoKiero@sopuli.xyz 12 points 2 weeks ago (1 children)

I don't know if equivalent exists on fediverse, but r/itsaunixsystem is available on $that_other_platform.

[–] i_am_not_a_robot@feddit.uk 16 points 2 weeks ago (1 children)

Ah, that's the clue I needed.

!itsaunixsystem@lemmy.federated.club

Think that instance is dead though.

load more comments (1 replies)
[–] HexesofVexes@lemmy.world 13 points 2 weeks ago

And here we see an expert hacker at work, with just a few commands as a root user, they managed to gain root access.

[–] Kangy@lemmy.dbzer0.com 12 points 2 weeks ago (1 children)

I was playing DMC: Devil May Cry (the prequel one) and they used a bunch of mount commands on a screen to show Virgil hacking the network

load more comments (1 replies)
[–] Coreidan@lemmy.world 11 points 2 weeks ago (10 children)

How is changing directories “hacking”???

load more comments (10 replies)
[–] Endymion_Mallorn@kbin.melroy.org 10 points 2 weeks ago

Heresy indeed. The Codex does not support this shell.

[–] TimeSquirrel@kbin.melroy.org 10 points 2 weeks ago (1 children)

Just wait until they discover rm, mv, and mkdir!

[–] undefined@lemmy.hogru.ch 8 points 2 weeks ago* (last edited 2 weeks ago)
mkdir /dir
cd /dir
cd /dir
mkdir 2
cd /dir
cd /dir/2
cd /dir
mv 2 /2
cd /2
mkdir /dir/3
rm -f 3
[–] vk6flab@lemmy.radio 8 points 2 weeks ago (3 children)

Bones shows an "Amiga", that looks suspiciously like an IBM PC-AT complete with 5.25” floppy playing Doom.

load more comments (3 replies)
[–] MyNameIsRichard@lemmy.ml 7 points 2 weeks ago
load more comments
view more: next ›