Many of us need to run rather long terminal commands or run simple but frequent terminal commands.
Rather than typing the full thing (which is good for memorization, but not so good for wits and time), you can use Autokey.
If you have ever used Macros, this is similar.
To install it on Zorin OS with GTK:
Download the latest release from here.
Open a terminal in your Downloads directory or change directory to it with cd ~/Downloads
Run (Replace 0.96.0 with the version number you actually download. Alternatively, if these two are the only .deb packages in your Downloads folder, you can simply run sudo dpkg -i *.deb):
The major difference between macros and aliases is that macros can contain argument placeholders.
AutoKey is a desktop automation utility for Linux and X11. It allows the automation of virtually any task by responding to typed abbreviations and hotkeys. It offers a full-featured GUI that makes it highly accessible for novices, as well as a scripting interface offering the full flexibility and power of the Python language.
I named it "Recover Memory", and gave it the key combination of Super+M. Then I very carefully painted the edges of the keys I'd set up for macros with blue. I've got Super+M for "Recover Memory", Super+U for "Update All", Super+L for "Flush Logs" and Super+S for "SCRUB Drives" (for the ZFS file system). That way, every time I look at the keyboard, I'm reminded of the macros.