FreeBSD の シェル が csh なので、bash の方が慣れているので変更する事にしました。

また、bash は導入されてないため、導入後に使用できるように設定する必要があります。

また、以下の方法で導入しました。

pkg install bash

導入時のメッセージは以下の内容になります。

root@FreeBSD:/etc/ssh # pkg install bash
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        bash: 5.0.11

Number of packages to be installed: 1

The process will require 9 MiB more space.
2 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching bash-5.0.11.txz: 100%    2 MiB   1.6MB/s    00:01
Checking integrity... done (0 conflicting)
[1/1] Installing bash-5.0.11...
[1/1] Extracting bash-5.0.11: 100%
root@FreeBSD:/etc/ssh #