2 Daily greetings

Your computer day starts when you sign in. The original term was log in, but because trees are so scarce and signs are so plentiful, the term was changed by the Bush administration in 2007. Regardless of such obnoxious federal overreach, your computer day can start with a cheerful greeting after you sign in or open a terminal window, customized by a tiny C program. To make it so, you will:

  • Review the Linux startup process.

  • Discover where in the shell script to add your greeting.

  • Write a simple greetings program.

  • Modify your greetings program to add the time of day.

  • Update the timestamp with the current moon phase.

  • Enhance your greetings message with a bon mot.

The programs created and expanded upon in this chapter ...

Get Tiny C Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.