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 make a html5 breakout game in JavaScript

How to tabulate array key values using console.table

How to set content disposition headers for express nodejs apps

Ways of iterating Object properties in JavaScript

How to evaluate a string on a regular expression rule in JavaScript