Missing bash
I'd like to use command including bash, but my macbook pro doesn't seem to have one in /usr/local/bin, and whenever I type the command, "-bash: command not found" shows up. How can I install new bash file?
MacBook Pro 13″, macOS 10.13
I'd like to use command including bash, but my macbook pro doesn't seem to have one in /usr/local/bin, and whenever I type the command, "-bash: command not found" shows up. How can I install new bash file?
MacBook Pro 13″, macOS 10.13
Perimid68 wrote:
I'd like to use command including bash, but my macbook pro doesn't seem to have one in /usr/local/bin, and whenever I type the command, "-bash: command not found" shows up. How can I install new bash file?
to see your options:
cat /etc/shells
To change shells, for ex. bash:
chsh -s /bin/bash
There are some items along this line that appear in search.
• Execute commands and run tools in Terminal on Mac - Apple Support
• Install Bash 5 on macOS - Scripting OS X
https://scriptingosx.com/2019/02/install-bash-5-on-macos/
one search resource
https://duckduckgo.com/?t=ffab&q=command+bash+macbook+how+to+use&ia=web
• Install bash on Mac OSX - Mac App Store
• Pro Terminal Commands: Using diskutil - Apple Gazette
https://www.applegazette.com/mac/pro-terminal-commands-using-diskutil/
• About Daemons and Services - developer.apple/library/archive
• An A-Z Index of the Apple macOS command line | SS64.com
While there may be clues among search results, could be answer(s) too.
Good luck & happy trails!🌻🐝
PS:
"in macOS 10.15 Catalina the default shell will be zsh."
Prior rules likely apply where earlier macOS still exists.
• Moving to zsh | scriptingosx
Moving to zsh, part 8 - Scripting zsh
2019-08-20 ~ & etc. 🐌|🐢
Missing bash