Features Common to the Bourne Again and TC Shells
Most of the features common to both bash and tcsh are derived from the original C Shell. These features include
History
Aliases
Job control
Filename substitution
Because the chapters on bash discuss these features in detail, this section focuses on the differences between the bash and tcsh versions.
History
The use of history in tcsh is similar to its use in bash. (See page 588 for a complete description of the history mechanism.) The same event and word designators work in both shells. For example, !! refers to the previous event in tcsh, just as it does in bash. The command !328 means to execute event number 328 and !?txt? means to execute the most recent event containing the string txt. Table ...
Get A Practical Guide to Red Hat® Linux® 8 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.