this post was submitted on 31 May 2025
919 points (99.0% liked)

Programmer Humor

23955 readers
2581 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] schnurrito@discuss.tchncs.de 32 points 1 week ago (19 children)

OK I'll bite, how do you get rid of a literal ~ directory?

[โ€“] barsoap@lemm.ee 46 points 1 week ago (1 children)

Should be \~ in most shells, certainly bash. Use mkdir and rmdir when messing around to prevent accidents.

[โ€“] DacoTaco@lemmy.world 11 points 1 week ago

Saw this post this morning and was thinking about how to delete it ( while falling back asleep ). Escaping the ~, ofc that'd work! I feel so stupid now haha

load more comments (17 replies)