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
sudo nano /etc/inputrc
then you need to find the following passage and remove the # at the beginning so that it looks like this
# alternate mappings for "page up" and "page down" to search the history "\e[5~": history-search-backward "\e[6~": history-search-forward
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.