Created
January 23, 2023 14:58
-
-
Save breiter/f40b12e297fa21418275883401267fae to your computer and use it in GitHub Desktop.
change macOS /bin/sh from /bin/bash to /bin/dash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh is a POSIX-compliant command interpreter (shell). It is implemented | |
by re-execing as either bash(1), dash(1), or zsh(1) as determined by the | |
symbolic link located at /private/var/select/sh. If | |
/private/var/select/sh does not exist or does not point to a valid shell, | |
sh will use one of the supported shells. | |
$ ls -l /private/var/select | |
total 0 | |
lrwxr-xr-x 1 root wheel 9 Jan 23 09:47 sh -> /bin/dash | |
lrwxr-xr-x 1 root wheel 9 Dec 2 06:37 sh.ori -> /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment