There are many commands in the console that periodically need to be executed, for example sudo tail -f /var/log/fail2ban.log I open periodically, I look. It happens that you need to look again, for example, sudo tail -f /var/log/fail2ban.log and you start with the up arrows - scroll through the history of commands until you find the right one.
Maybe there is some kind of "thing" where I would add commands and what is called, with one click would call the ones I need? Like a bookmark bar in the browser.