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

How to set content disposition header for nginx server to force content download

Animated daylight on HTML5 Canvas

How to make a static http server in nodejs using express

JS13K Preparation

Adding Gameover and introduction screen on HTML Canvas