197
win9x be like: (lemmy.sdf.org)
submitted 2 months ago by dosuser123456@lemmy.sdf.org to c/memes@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] superkret@feddit.org 12 points 2 months ago

Name a file in Linux ~ and then delete it again.

[-] TheTechnician27@lemmy.world 11 points 2 months ago
[-] bizzle@lemmy.world 6 points 2 months ago

Well if you put it in like that it would give an error. But if you used the right slash you can kiss your home folder goodbye probably. Maybe rm ./~ would work

[-] Peruvian_Skies@sh.itjust.works 9 points 2 months ago* (last edited 2 months ago)

~ resolves to your home folder only if it's at the beginning of a path. /~ isn't the same as ~. Go ahead and test it with something other than rm if you don't believe me (this is the Internet, I could be lying).

[-] bizzle@lemmy.world 4 points 2 months ago

Hey you're right, I tried it with rm because I'm a maniac.

[-] FiskFisk33@startrek.website 8 points 2 months ago

in tab completion I trust...

this post was submitted on 19 Aug 2024
197 points (91.9% liked)

Memes

45565 readers
1633 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS