1
vote
Accepted
What's the difference between git-bash.exe and bash.exe and how they interact with Windows Terminal?
Of course they are different.
git-bash.exe
git-bash.exe is a terminal executable based on mintty. I won't explain what terminal (and shell) is as the internet is full of materials about it (e.g. see ...
1
vote
"ls: cannot open directory '.': No such file or directory" in Git Bash (in VS Code terminal)
This can happen when the current working directory is deleted or moved away from underneath you.
Example using two terminals/sessions (I'll put a no-op : 1; and : 2; in front of each command to ...
1
vote
How to force declare -f to respect semicolons
The lack of double-quotes around the variable in bash -c $cmd caused the command to be equivalent to:
bash -c hello '()' …
where hello is a command string, () is the name you inadvertently gave to ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
bash × 11617linux × 4867
command-line × 1590
shell × 1549
macos × 1003
terminal × 986
ubuntu × 738
ssh × 670
unix × 610
bash-scripting × 551
script × 516
shell-script × 504
sed × 358
zsh × 314
windows × 300
grep × 292
cygwin × 265
git × 257
find × 245
windows-subsystem-for-linux × 233
mac × 223
windows-10 × 216
awk × 214
environment-variables × 209
cron × 196