Tutorials 
Who Let the Dogs Out
by Scott Haneda, Contributing Editor
So, you are spending more and more time in OSX, and even getting used to
that terminal console as well. Some really smart guy once told you that OSX
was going to be the most customizable OS ever to be put in the hands of a
Macintosh user. So you wonder, since this is your house, you should be able
to be welcomed by it in your own special way. I know that when I walk in the
door to my house, a X-10 switch triggeres the imac mp3 player and boldy said
"Welcome to Darwin'. This got a little old after I came home a few
times, so I changed it, now, when I get home, I am greeted by the thumping sounds
of "Who Let the Dogs Out" by Baha Men.
Would you like to be greeted in such a way as well, of course, who would'nt?
Here is the dilly. Open up your terminal application, you "should"
be greeted by with the usual slogan, perform the following steps..
cd /
(this will get you to the topmost directory)
l
(this lists all the files so you can see what is in "/")
cd /etc/
(this moves you to the "/etc/" directory)
l
(this again shows you what is now in "/etc/", I know, I am taking the long way,
trying to learn you guys a few things here, you should see a file called "motd",
this is the one we are intersted in.)
more motd
(this lets you read realy quickly what is in "motd", and this is what we want to alter)
sudo pico motd
(this gets you into a bare bones editor called pico, please dont hate me, I use vi,
this is a tutorial, you are also prompted for a password, enter in your root password.
At this point, you can make the line say anything you want.)
Control X
(that means press the control key and X on the keyboard, it will ask you to
save, y/n, so press y, you are now out of pico, just to test it, type "more
motd" to make sure you made the changes.)
reboot your machine, and next time you login to the terminal, you should see your
new slogan, as well as will any other users that login to your machine.
If you have any questions or comments about this article, feel free to e-mail me at scotthaneda@osxfaq.com
|