Globally Accessible Executables

Globally Accessible Executables

5 years ago
Anonymous $syBn1NGQOq

https://medium.com/@whosale/globally-accessible-executables-dcc711ecff56

gif of a person spinning a globeLet’s imagine you just wrote an amazing script or CLI application. You cdinto that amazing app directory and then run python3 amazing_app.pyto begin the awesomeness. But what if you accidentally cd’d into the wrong directory, or a friend downloads your code and wants to access it from anywhere on their system? Luckily there is a way to setup your program as a global executable.

It does not take a programmer a long time to find a project or framework that has a bin file or directory. Bin is short for binary, which is the machine level language of 1’s and 0’s that the computer understands. Since every language and program has to eventually convert to binary, all of the binary code (also known as executables) has conventionally been stored in bin.