this post was submitted on 02 Nov 2023
4 points (100.0% liked)

Linux

125 readers
1 users here now

founded 2 years ago
 

Quite often I want to execute the same command for multiple files. It is quite easy to achieve that using the fish shell, once you get the hang of it.

you are viewing a single comment's thread
view the rest of the comments
[–] Cwilliams 3 points 1 year ago (2 children)

This isn't just a fish thing, it works with bash, zsh, etc too

[–] ShaunaTheDead@kbin.social 1 points 1 year ago (2 children)

Pretty unrelated, but I just wanted to say that I love how bash scripting uses if to open an if statement and fi to close it... makes me giggle every time lol

[–] Cwilliams 2 points 1 year ago

Comment Same! It's really funny Tnemmoc

[–] danrot@kbin.social 2 points 1 year ago

Doesn't it also use case and esacand a few others? Such a weird language^^

[–] danrot@kbin.social 1 points 1 year ago (1 children)

That's true, but the syntax is different then. In this blog post I cover fish, and I didn't intent to say that this cannot be done in other shells (and I think I never said so).

[–] Cwilliams 2 points 1 year ago

Oh, thanks for the clarification!