What is a bin directory

A bin is an abbreviation of binary, a bin directory is a standard directory used to store executable binary applications.

For example When you type a command on your terminal the operating system looks up for an entry in the bin directory
Take for instance.

cowsay 'hello world'

If you type out the command above your operating system will look up for a file named cowsay inside the configured bin directory

let's say /usr/bin/

Should it find a relevant entry that matches the command 'cowsay' it will then pass arguments passed as parameters made available to the program 'cowsay'

Comments

Popular posts from this blog

FlappingBird JS13K Games

comparison on var, let and const variable declaration

unused css rules tree shaking elimination nodejs

JavaScript introduction to variables

How to make a html5 breakout game in JavaScript