this post was submitted on 17 Jun 2026
-5 points (36.8% liked)

Explain Like I'm Five

21442 readers
113 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] ratajs@thelemmy.club 1 points 4 hours ago (2 children)

This syntax works for me on Bash and Zsh. Your shell might have a different way of writing escape sequences.

[–] LoveEspresso@retrofed.com 1 points 3 hours ago (1 children)

Bash and Zsh are identical ??

[–] ratajs@thelemmy.club 1 points 3 hours ago

They are not identical, but more they are quite compatible, most of Bash syntax and built-in commands work on Zsh as well. From what I’ve heard, Fish differs from them a lot. I use primarily Zsh, but sometimes run Bash if I need it for something (before ** started working on Zsh, I used Bash globstar when I needed it, for example).