Linux bash search history

In this article let’s discuss about Linux bash search history. Let’s go through the following methods without any delay.

Method 1:

Type Ctrl R at the command line and start typing the previous command.

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar but have a try!

Method 2 :

sudo add-apt-repository ppa:ultradvorka/ppa && sudo apt-get update && sudo apt-get install hstr && hstr --show-configuration >> ~/.bashrc && . ~/.bashrc

Hope the above solution works.

Realted Posts : How to remove filmora watermark