Using Alternate Shells

Any user can change his or her assigned shell at any time. The reasons for doing this are myriad: Someone might be accustomed to Linux and bash, as described earlier, or he might have a highly customized shell environment from another system that is only in a certain shell's configuration format (as we will discuss shortly). Regardless of the reason, changing a user's shell is pretty easy.

Changing Your Shell While Logged In

The simplest way to use an alternate shell is simply to run it. If your default shell is tcsh, and you want to use bash (assuming that bash is available on the system), just type bash to open a new bash environment within your tcsh session.

# bash
bash-2.04#

Now, when you log out, you'll have to do ...

Get FreeBSD® Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.