How do you search in commands that you executed in past in Linux terminal?

Experience Level: Junior
Tags: Linux

Answer

Use reverse search feature.

Press Ctrl+R, type the search term, the matching command will be displayed. To display other matching commands continue pressing Ctrl+R.

To exit reverse search press Ctrl+C.

Comments

No Comments Yet.
Be the first to tell us what you think.
Linux for beginners
Linux for beginners

Are you learning Linux ? Try our test we designed to help you progress faster.

Test yourself