Changing Your Shell
The default shell for the root user in FreeBSD is csh (actually tcsh). If you’re not running as root, however, you might have a different shell assigned. To see what shell you are currently running, type the following command, where foo is your login name and # is the command prompt:
# grep foo /etc/passwd
Don’t worry if you don’t know what this command line means. You’ll understand it and far more before you are done with this chapter. The command returns a line that looks something like the following:
foo:*:1001:1001::Foo Bar:/home/foo:/bin/csh
The line on your screen will probably be different from this one. For now, all you need to worry about is the last field (the one that reads /bin/csh in the example). This is your ...
Get FreeBSD6 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.