-13
you are viewing a single comment's thread
view the rest of the comments
[-] LoveEspresso@retrofed.com 0 points 1 month ago

The actual folder is 'folder'$'\003' .

[-] gravitas_deficiency@sh.itjust.works 8 points 1 month ago* (last edited 1 month ago)

In that case, I think you want

rm -rf "'folder'\$'\\003'"

Note the double escape before 003, which will render to the character literal \

Alternatively, start typing

rm -rf \'fo

And then hit tab until fish autocompletes the directory you want to kill, and run it.

Side note: i would absolutely not tolerate directories named like that lol

[-] LoveEspresso@retrofed.com 2 points 1 month ago

Thanks for the tip.

[-] hemko@lemmy.dbzer0.com 4 points 1 month ago

Is this some school task...? Why is there a folder with such a name ๐Ÿ˜…

[-] LoveEspresso@retrofed.com 3 points 1 month ago

Apparently yes. I'm learning things on my own.

this post was submitted on 17 Jun 2026
-13 points (25.9% liked)

Explain Like I'm Five

21778 readers
7 users here now

Simplifying Complexity, One Answer at a Time!

Rules

  1. Be respectful and inclusive.
  2. No harassment, hate speech, or trolling.
  3. Engage in constructive discussions.
  4. Share relevant content.
  5. Follow guidelines and moderators' instructions.
  6. Use appropriate language and tone.
  7. Report violations.
  8. Foster a continuous learning environment.

founded 3 years ago
MODERATORS