Searching in previously typed commands in linux command line

CTRL-R: reverse search in command history.

CTRL-S: forward search in command history.

To search for the next occurrence just press the appropriate key combination again.

Explore posts in the same categories: Tip

Leave a comment