Viewing Session History in the csh Shell
If you're a C programmer (or have C programmers to turn to for help), csh might be a good shell for you because the syntax is quite similar to the C programming language.csh doesn't offer command completion, but the history capabilities are fairly similar to those of bash or zsh (see Code Listing 3.14). In general, csh is a powerful scripting shell (and acceptable interactive shell) for those who take the time and effort to become familiar with it.
Code Listing 3.14. csh also lets you recycle commands by number, although other history functions are not available.
To view session history in the csh shell: