I just came up with an idea for a useful computer program, but this would mean I would have to know how bash commands could be used to "click" on the gui buttons. Do you know anywhere I can find a list of explanations on how to do this or any examples to get me started?
The tool is xdotool (command-line X11 automation tool)
DESCRIPTION xdotool lets you programatically (or manually) simulate keyboard input and mouse activity, move and resize windows, etc. It does this using X11's XTEST extension and other Xlib functions.
If you were interested in calling some python from your bash script, I've had good luck with pyautogui in the past for automating keyboard actions. I found it very approachable.