this post was submitted on 09 Dec 2024
332 points (98.0% liked)

Linux

58835 readers
755 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 6 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 105 points 10 months ago* (last edited 10 months 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 10 months ago (1 children)
[–] Sorse@discuss.tchncs.de 6 points 10 months ago* (last edited 9 months ago)

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

[–] Shady_Shiroe@lemmy.world 89 points 10 months ago (2 children)

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

[–] BCsven@lemmy.ca 32 points 10 months ago (1 children)

pwd even when the bash prompt tells me where I am

[–] wuphysics87@lemmy.ml 18 points 10 months ago

I forget pwd

load more comments (1 replies)
[–] hamburger@discuss.tchncs.de 62 points 10 months ago (1 children)
[–] intensely_human@lemm.ee 24 points 10 months ago (1 children)
[–] SidewaysHighways@lemmy.world 10 points 10 months ago* (last edited 10 months 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 57 points 10 months 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 53 points 10 months 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 24 points 10 months 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 10 months ago* (last edited 10 months 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 10 months ago

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

load more comments (1 replies)
[–] melroy@kbin.melroy.org 10 points 10 months ago

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

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

/root
root

~/../root

root/

ls /root/

I'm in!

[–] SynopsisTantilize@lemm.ee 17 points 10 months ago

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

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

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

[–] masterofn001@lemmy.ca 7 points 10 months 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 10 months ago (2 children)

OMG, they just got root access!!!

[–] Agent641@lemmy.world 7 points 10 months ago

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

[–] Subverb@lemmy.world 6 points 10 months ago
[–] Ludrol@szmer.info 25 points 10 months ago (2 children)

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

[–] ped_xing@hexbear.net 10 points 10 months ago

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

load more comments (1 replies)
[–] Routhinator@startrek.website 22 points 10 months 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 25 points 10 months 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 10 months ago

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

--Confused Windows Viewers

[–] HiddenLayer555@lemmy.ml 20 points 10 months ago* (last edited 10 months 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

[–] xtapa@discuss.tchncs.de 12 points 10 months 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 10 months 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

[–] i_am_not_a_robot@feddit.uk 14 points 10 months 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 10 months 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 10 months 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 14 points 10 months 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.

[–] A_Union_of_Kobolds@lemmy.world 13 points 10 months ago

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

[–] Kangy@lemmy.dbzer0.com 13 points 10 months 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 10 months ago (10 children)

How is changing directories “hacking”???

load more comments (10 replies)
[–] TimeSquirrel@kbin.melroy.org 10 points 10 months ago (1 children)

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

[–] undefined@lemmy.hogru.ch 8 points 10 months ago* (last edited 10 months 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 9 points 10 months 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)
[–] Endymion_Mallorn@kbin.melroy.org 9 points 10 months ago

Heresy indeed. The Codex does not support this shell.

[–] MyNameIsRichard@lemmy.ml 7 points 10 months ago
load more comments
view more: next ›