December 2022
Beginner
384 pages
10h 44m
English
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 ...