heck is the path

This is truncated here, but we can now more clearly see this is a list of directories. All of these places, stored in the bash variable called “PATH”, are searched whenever I am typing a command in the terminal window. If the command you are trying to use is present in any of the directories listed in your PATH, you don’t need to point at its specific location in full (its path, lowercase) when you are trying to use it – which is of course nice for things we use often.

To make a program available anywhere, we can either place that program in a directory that’s already in our PATH, or we can add a new directory to our PATH that contains the program. (Keep in mind that the order in which things appear in your PATH does matter. If you have two versions of a program with the same name, whichever shows up first will get called.)