FreeBSD ログインシェル変更



# echo $SHELL


## pkg install bash
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+, please wait...
Verifying signature with trusted certificate done
Installing pkg-1.15.10...
Extracting pkg-1.15.10: 100%
Updating FreeBSD repository catalogue...
Fetching meta.conf: 100%    163 B   0.2kB/s    00:01
Fetching packagesite.txz: 100%    6 MiB   6.7MB/s    00:01
Processing entries: 100%
FreeBSD repository update completed. 31959 packages processed.
All repositories are up to date.
Updating database digests format: 100%
The following 114 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        adwaita-icon-theme: 3.38.0e.

[39/114] Extracting gmp-6.2.0: 100%
[40/114] Installing bash-5.0.18_3...
[40/114] Extracting bash-5.0.18_3: 100%
[41/114] Installing font-misc-meltho-1.0.3_4...


#  chsh -s /usr/local/bin/bash
chsh: user information updated
# chsh -s /usr/local/bin/bash hoge
chsh: user information updated


# echo $SHELL
$ echo $SHELL

普段使ってるBourne Again shellが好き♪