Say I have the program program.py in a non-root directory. Thus, in order to run the program, I have to type python3 program.py every time. Is there a shortcut that I can enable in my unix environment where I type a specific command for a specific program to run. I.e. for the above, I want to just be able to type program and have the program run.
I am not greatly familiar with unix but I believe this has something to do with adding something to your path which I am unfamiliar with this method. Any references and/or support is greatly appreciated!! Thanks!
PATH, try this question: What is PATH on a Mac (UNIX) system?