At some point, you’re going to want to run commands from non-standard directories. When that happens, you’ll want to add those directories to your $PATH. Jack Wallen shows you how.
Your Linux PATH is how you define the directories for which commands can be run globally. In other words, if you have an executable file in a directory that is configured to be in your PATH, you can run that executable from anywhere in the Linux file structure. This is what makes it possible to run commands in /usr/bin from your home directory (or anywhere, for that matter).
SEE: 5 Linux server distributions you should be using (TechRepublic Premium)
Out of the box, the Linux PATH contains the usual entries, such as /usr/bin/, /usr/sbin/, /usr/local/bin, and so on. But what happens if you have a…