This document explains how to write a simple bash script for building a small GUI with different options to select a command which you may need frequently in your everyday work.
After executing the script, the output will be:
This allows you to quickly select the option you use often, and the command which you may have forgotten (for example – echo -e “grep -i –color novif xrun.log”)
The script is shown below:
You can modify this script so that it will include commands you frequently use.
The good thing is that you can scale this script as much as you want, by adding the commands that you frequently use.
In this way, you will have all your most often used commands in one place and execute them without ever forgetting the exact syntax.