Warning this article may contain opinions of the author that you and iTWire don't agree with.
Visit the last page to have your say in our forum.

No. 1 Story

Telstra adds one million mobile services, but Sensis plummets

Telstra has revealed the addition of almost one million new mobile services in the six months to December 2011, but Sensis revenues plummeted 24 percent in 12 months.

read more

A Linux Christmas Carol explained

Opinion and Analysis

Before we continue, let’s just reinforce the BEL message. CTRL-G makes a “ding” noise on your computer.

With this out of the way, let’s finish the carol.

Our ringing bells are making spirits bright. This just begs for the Linux make command to be used, which will compile and build an app – or perform any processing which generates an output file in some way.

% make SpiritsBright

No more explanation is needed here; make makes sense.

We’re having such a great time that it’s such fun to laugh and sing. Actually, the wording is “Oh, what fun” which is making a statement about fun. It’s almost defining fun.

Under Linux if you want to know more about something you consult the manual – not a printed one, but the online manual pages otherwise known as man pages. The man command is the means of accessing this oracle.

Thus

% man fun | Laugh && Sing

means “Oh, what fun” (ok, bear with me here!) and we pass output to a command Laugh; a second command Sing also runs provided Laugh is successful – that is, we will laugh and sing, but if we don’t laugh then we won’t sing either.

When are we singing this sleighing song? Why, tonight! To make certain we have the date right I’ve used the Linux date command to print the current date and time, again, sending output to a text file.

% date > SleighingSong

And now time for the chorus! Join in if you like.

% echo ^G^G
% echo ^G^G
% echo ^G^G^G^G^G^G^G^G^G^G
% man fun | OneHorseOpenSleigh
% echo ^G^G
% echo ^G^G
% echo ^G^G^G^G^G^G^G^G^G^G
% man fun | OneHorseOpenSleigh

That should all be clear now; we’re jingling bells, jingling them all the way. Oh, what fun we’re having in our one horse open sleigh.

I’m pretty sure my alternate line need no explanation however:

wonderwoman% find / -name bosom –print

And with that, Happy Christmas to all and to all a good night.

Loading comments ...



- sponsored feature -

The Death of Traditional BI: What’s Next?

How to Make Business Discovery Work for Your Business IP PABX BUYING GUIDE

Business Discovery takes its cues from consumer apps. Like Google, it encourages us- ers to hunt for and explore data without worrying about or even noticing the underly- ing technology. Their entire experience is working within an intuitive interface to get real-time, self-service results with only minimal training. ...more