Most of the features common to both bash and tcsh are derived from the original C Shell. These features include
Because the chapters on bash discuss these features in detail, this section focuses on the differences between the bash and tcsh versions.
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 ...