Change the Mac OS X Terminal’s Message of the Day
Whenever you launch the Terminal in Mac OS X, you get a little message: “Welcome to Darwin!” – well, after you’ve seen it a few hundred times you might be sick of it, or perhaps you’d prefer something more useful to yourself and other computer users. There is no rocket science with this at all, its called a Message of the Day and it’s a simple text file located at /etc/motd. We will show you how to change it to whatever you want, easily.
Launch the Terminal and type:
$ cat /etc/motd
Unless you have already customized it, “Welcome to Darwin!” will be what appears. But we don’t want that anymore, so here’s how to turn it into whatever you want.
Type the following:
$ nano /etc/motd
nano is nothing more than a command line text editor, and works just like one. Line over and delete the text and type whatever you want in its place.
To save you’ll hit control-O, and then hit return. That’s it. Now when you launch the Terminal you’ll be greeted with your new message.
Hello from OS X Daily!
Note: It has come to our attention that some users will be required to run nano as root, via the sudo command. Using the sudo command will prompt you for the administrators password. The new syntax would be:
$ sudo nano /etc/motd