O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required