1293
Linux Users (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] Tiberus@lemmy.dbzer0.com 4 points 2 weeks ago

I accidentally found out one day that I could use a wildcard operator in the terminal instead of a full file or folder name due to always doing this.

cd Pho* or cd /documents/Pho*

Will for example open my "Photo Examples" folder in the working directory or based on the path

[-] DarkAri@lemmy.blahaj.zone 3 points 2 weeks ago* (last edited 2 weeks ago)

cd /

sudo rm -rf *

Basically the Linux version of deleting system32 but idk I'm not a super Linux nerd yet.

[-] bandwidthcrisis@lemmy.world 5 points 2 weeks ago

The fun thing is that you can create a file named "-rf *" and hope an admin tried to delete it!

load more comments (6 replies)
this post was submitted on 24 Sep 2025
1293 points (98.1% liked)

Programmer Humor

26859 readers
928 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