477
you are viewing a single comment's thread
view the rest of the comments
[-] lord_ryvan@ttrpg.network 6 points 1 week ago* (last edited 1 week ago)

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 5 days ago* (last edited 5 days ago)
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

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

Programmer Humor

34135 readers
1937 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