16.6. Tips on Using Command History

What are some other ways I can use command history?

If you type history, you will see a numbered list scroll by very quickly, showing you the previous 500 commands you have used.

You probably do not need to see all of the last 500 commands, so the command history 20 might be useful. This way, only the previous 20 commands you typed will display (you can use any quantity as an argument of the history command).

16.6.1. Other Shortcuts

Here are other command history shortcuts which may be useful to you: