I often want to reuse a terminal command that I already used in the past. I know two ways how to do this:

* Use the "up" arrow to browse through old commands.
* Copy a bunch of commands into a script.

Now I'm looking for something like an archiving tool, where I could comfortably collect useful terminal inputs. Is there something more comfortable than the "up" key or copying into scripts?