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 ksh (see Code Listing 3.12). 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.
To view session history in the csh shell:
1. |
If you haven't already, use the shell for a little while, changing directories, redirecting output, or doing other tasks.
|
2. | history |
Get Unix: Visual QuickStart Guide 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.