Cycle through bash history with Page up / Page down in Linux

Cycling through the history of already used commands in Linux is helpful, it is even better if you could search for already used commands for a specific program like nano etc.

To activate that (which it isn’t by default) you need to edit the /etc/inputrc file

then you need to find the following passage and remove the # at the beginning so that it looks like this

Now save and close the file with CTRL + O and CTRL + X. You need to logout and login again or use the CTRL + X and CTRL + R shortcut and then you can cycle through your bash history.