this post was submitted on 07 Nov 2026
481 points (97.8% liked)

Programmer Humor

34091 readers
952 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] z3rOR0ne@lemmy.ml 6 points 5 days ago (1 children)
[–] lord_ryvan@ttrpg.network 6 points 5 days ago* (last edited 5 days ago) (1 children)

Wait I gotta try this, don't even think you need the backspace


$ mkdir " "
$ ls
' '

I hate that this works

[–] YellowTraveller@lemmy.zip 2 points 4 days ago* (last edited 4 days ago) (1 children)
mkdir "
"

will create a folder with a new line as its name

Edit, even more cursed:

Running mkdir $'\e[2J' will create a folder with the "clear screen" escape sequence as its name, so entering it and running pwd will clear your terminal screen

[–] lord_ryvan@ttrpg.network 1 points 3 days ago

Listing of the three directories in GUI and terminal. The user is about to run pwd from the last directory

pwd cleared the terminal screen, mostly

What the three directories look like when their names are selected in the GUI

I hate that all of this just works.