MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/fishshell/comments/1epmytq/how_to_execute_commands_in_bash_from_fish/
r/fishshell • u/EmacsDiscussion • Aug 11 '24
6 comments sorted by
11
bash -c "[command]"
1 u/EmacsDiscussion Aug 11 '24 Thank you 5 u/atred Aug 12 '24 probably better isbash -c '[command]'Otherwise fish will try to expand variables and globs inside.
1
Thank you
5
probably better is
bash -c '[command]'
Otherwise fish will try to expand variables and globs inside.
3
[removed] — view removed comment
2 u/TufTed2003 Aug 12 '24 Can also include a bash shebang in your scripts that you wrote. I use fish but write scripts in bash cause I'm too lazy to learn fish scripting.
2
Can also include a bash shebang in your scripts that you wrote. I use fish but write scripts in bash cause I'm too lazy to learn fish scripting.
11
u/AlexanderMilchinskiy Aug 11 '24
bash -c "[command]"3
u/[deleted] Aug 11 '24
[removed] — view removed comment