Customizing Your Shell Environment

We've seen a few examples already, in both tcsh and bash style, of how to customize how your shell works—the default settings in the shell config files. These can serve as perfectly valid examples of how to extend your shell's functionality. There are a few extra things you can do, though, and some options that aren't clearly demonstrated in the default files. We'll look at how to accomplish this in tcsh and in bash. In most cases, these are built-in shell commands that can be issued either from the command line directly or from within any of the shell configuration files.

Note

Full details on a large number of available built-in commands—some of which appear in csh/tcsh, some of which appear in sh/bash, and ...

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.