this post was submitted on 09 Dec 2024
334 points (97.7% liked)

Linux

48677 readers
408 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
[–] [email protected] 106 points 1 week ago* (last edited 1 week 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

[–] [email protected] 91 points 1 week ago (2 children)

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

[–] [email protected] 33 points 1 week ago (1 children)

pwd even when the bash prompt tells me where I am

[–] [email protected] 18 points 1 week ago

I forget pwd

load more comments (1 replies)
[–] [email protected] 65 points 1 week ago (1 children)
[–] [email protected] 24 points 1 week ago (1 children)
[–] [email protected] 10 points 1 week ago* (last edited 1 week ago) (1 children)

In root

In root again

Where am i? Let's go to root

cd /

load more comments (1 replies)
[–] [email protected] 59 points 1 week 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

[–] [email protected] 55 points 1 week 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 1 week 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 week ago* (last edited 1 week 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)
[–] [email protected] 10 points 1 week ago

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

load more comments (1 replies)
[–] [email protected] 10 points 1 week ago

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

load more comments (2 replies)
[–] [email protected] 37 points 1 week ago* (last edited 1 week ago) (2 children)

/root
root

~/../root

root/

ls /root/

I'm in!

[–] [email protected] 18 points 1 week ago

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

[–] [email protected] 11 points 1 week ago* (last edited 1 week ago) (1 children)

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

[–] [email protected] 7 points 1 week 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'

[–] [email protected] 29 points 1 week ago (2 children)

OMG, they just got root access!!!

[–] [email protected] 8 points 1 week ago

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

load more comments (1 replies)
[–] [email protected] 27 points 1 week ago* (last edited 1 week 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.

[–] [email protected] 20 points 1 week ago

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

load more comments (1 replies)
[–] [email protected] 25 points 1 week ago (2 children)

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

[–] [email protected] 10 points 1 week ago

I don't know, I tried it and it commented its code. Who does that?

load more comments (1 replies)
[–] [email protected] 22 points 1 week 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?

[–] [email protected] 25 points 1 week 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.

load more comments (1 replies)
[–] [email protected] 20 points 1 week ago* (last edited 1 week 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

[–] [email protected] 9 points 1 week ago (1 children)

Making a new python environment

load more comments (1 replies)
[–] [email protected] 12 points 1 week ago (1 children)

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

[–] [email protected] 8 points 1 week 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

[–] [email protected] 16 points 1 week 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)
[–] [email protected] 15 points 1 week ago

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

[–] [email protected] 14 points 1 week 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.

[–] [email protected] 12 points 1 week ago (1 children)

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

[–] [email protected] 16 points 1 week ago (1 children)

Ah, that's the clue I needed.

[email protected]

Think that instance is dead though.

load more comments (1 replies)
[–] [email protected] 14 points 1 week 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.

[–] [email protected] 13 points 1 week 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)
[–] [email protected] 11 points 1 week ago (10 children)

How is changing directories “hacking”???

load more comments (10 replies)
[–] [email protected] 10 points 1 week ago

Heresy indeed. The Codex does not support this shell.

[–] [email protected] 10 points 1 week ago (1 children)

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

[–] [email protected] 8 points 1 week ago* (last edited 1 week 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
[–] [email protected] 9 points 1 week 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)
[–] [email protected] 7 points 1 week ago
load more comments
view more: next ›