Excellent! Put it in the wiki, John.

Douglas.

John Carter wrote:
In the beginning, there was shell. Known to the ancient Unix guru's as the program "/bin/sh".

It was The Command Line.

Since then there has been a vast proliferation of newer, and for various values of the word "better", better implementations of the Command Line.

All such programs are called "shells". csh, ash, zsh, ksh, ...

In particular, there was one known as the Bourne Shell.

It died.

Later it was revived as the Bourne Again Shell, or bash.

I Kid You Not. Ask "man bash" is don't believe me.

The default shell, or Command Line interface for most linux systems is bash.


That is the program you are talking to at the command line prompt.


My favourite esoterica in this direction is the Magic Marker at the start of any shell script which tells the load which interpreter to us..


Running grep will find you many examples..
grep '#!/' /usr/bin/*
/usr/bin/GET:#!/usr/bin/perl -w
/usr/bin/HEAD:#!/usr/bin/perl -w
/usr/bin/LeakCheck:#!/bin/sh
/usr/bin/POST:#!/usr/bin/perl -w
/usr/bin/R:#!/bin/sh
/usr/bin/abw2html:#!/usr/bin/perl
/usr/bin/aclocal:#!/usr/bin/perl
/usr/bin/aclocal-1.6:#!/usr/bin/perl
/usr/bin/aclocal-1.7:#!/usr/bin/perl
/usr/bin/aclocal-1.8:#!/usr/bin/perl
/usr/bin/aclocal-1.9:#!/usr/bin/perl
/usr/bin/ada_count:#!/bin/sh
/usr/bin/alien:#!/usr/bin/perl -w
/usr/bin/allcm:#!/bin/sh
/usr/bin/allec:#!/bin/sh
/usr/bin/allneeded:#!/bin/sh
/usr/bin/anjuta_import.sh:#!/bin/bash
/usr/bin/any2djvu:#!/bin/bash
/usr/bin/anytopnm:#!/bin/sh
/usr/bin/apt-file:#!/usr/bin/perl -w
/usr/bin/apt-howto:#!/bin/sh
/usr/bin/apt-move:#!/bin/sh
/usr/bin/artsdsp:#!/bin/sh
/usr/bin/asm_count:#!/usr/bin/perl -w
/usr/bin/aspell-import:#!/usr/bin/perl


So how do you pronounce that? Well '!' is pronounced "BANG".

So the bash marker is #!/bin/bash or HASH BANG BIN BASH

Has quite a rhythm, doesn't it?



======================================================================= This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission. =======================================================================



Reply via email to