History
The history mechanism, a feature adapted from the C Shell, maintains a list of recently issued command lines, also called events, providing a shorthand way for reexecuting any of the events in the list. This mechanism also enables you to execute variations of previous commands and to reuse arguments from them. You can replicate complicated commands and arguments that you used earlier in this login session or in a previous one and enter a series of commands that differ from one another in minor ways. The history list is also useful as a record of what you have done. It can be helpful when you have made a mistake and are not sure what you did or when you want to keep a record of a procedure that involved a series of commands. The history ...
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.