<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Change the Mac OS X Terminal&#8217;s Message of the Day</title>
	<atom:link href="http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/feed/" rel="self" type="application/rss+xml" />
	<link>http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/</link>
	<description>News, tips, software, reviews, and more for Mac OS X, iPhone, iPad</description>
	<lastBuildDate>Tue, 22 May 2012 00:00:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Dagan</title>
		<link>http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-186987</link>
		<dc:creator>Dagan</dc:creator>
		<pubDate>Tue, 29 Mar 2011 12:54:28 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-186987</guid>
		<description>Make a c++ unix executable to launch on start up:
nano zebra.cpp
#include 
using namespace std;
int main(){
system(&quot;cp ~/motd /etc/motd&quot;);//enable root user
return 0;
}
^x
c++ zebra.cpp -o zebra
nano motd
The common zebra is an African equid best known for its beautiful, luxurious and
distinctive black and white stripes. Its stripes come in different patterns
unique to each individual, much like a snowflake. It is generally a pleasant and
social creature that lives in small harems to large herds. Unlike its closest
relatives, the horse and the ass, the zebra has never truly been domesticated.
^x

Then go to system preferences and make it run on start up.

It better be about f***ing zebras.</description>
		<content:encoded><![CDATA[<p>Make a c++ unix executable to launch on start up:<br />
nano zebra.cpp<br />
#include<br />
using namespace std;<br />
int main(){<br />
system(&#8220;cp ~/motd /etc/motd&#8221;);//enable root user<br />
return 0;<br />
}<br />
^x<br />
c++ zebra.cpp -o zebra<br />
nano motd<br />
The common zebra is an African equid best known for its beautiful, luxurious and<br />
distinctive black and white stripes. Its stripes come in different patterns<br />
unique to each individual, much like a snowflake. It is generally a pleasant and<br />
social creature that lives in small harems to large herds. Unlike its closest<br />
relatives, the horse and the ass, the zebra has never truly been domesticated.<br />
^x</p>
<p>Then go to system preferences and make it run on start up.</p>
<p>It better be about f***ing zebras.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dagan</title>
		<link>http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-186986</link>
		<dc:creator>Dagan</dc:creator>
		<pubDate>Tue, 29 Mar 2011 12:49:15 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-186986</guid>
		<description>Last login: Tue Mar 29 08:45:38 on ttys005
The common zebra is an African equid best known for its beautiful, luxurious and
distinctive black and white stripes. Its stripes come in different patterns
unique to each individual, much like a snowflake. It is generally a pleasant and
social creature that lives in small harems to large herds. Unlike its closest
relatives, the horse and the ass, the zebra has never truly been domesticated.

SAMsDesktop:~ PsuedoDagan$ echo yes.
yes.</description>
		<content:encoded><![CDATA[<p>Last login: Tue Mar 29 08:45:38 on ttys005<br />
The common zebra is an African equid best known for its beautiful, luxurious and<br />
distinctive black and white stripes. Its stripes come in different patterns<br />
unique to each individual, much like a snowflake. It is generally a pleasant and<br />
social creature that lives in small harems to large herds. Unlike its closest<br />
relatives, the horse and the ass, the zebra has never truly been domesticated.</p>
<p>SAMsDesktop:~ PsuedoDagan$ echo yes.<br />
yes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fpond</title>
		<link>http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-182541</link>
		<dc:creator>fpond</dc:creator>
		<pubDate>Tue, 15 Mar 2011 20:29:28 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-182541</guid>
		<description>After rebooting the old message reappears.  Any ideas?</description>
		<content:encoded><![CDATA[<p>After rebooting the old message reappears.  Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: revPJ</title>
		<link>http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-118643</link>
		<dc:creator>revPJ</dc:creator>
		<pubDate>Mon, 27 Sep 2010 03:41:06 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-118643</guid>
		<description>If there is a /var/mail/ remove it after catting the contents.</description>
		<content:encoded><![CDATA[<p>If there is a /var/mail/ remove it after catting the contents.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MOKA</title>
		<link>http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-104474</link>
		<dc:creator>MOKA</dc:creator>
		<pubDate>Fri, 25 Jun 2010 08:19:28 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-104474</guid>
		<description>I tried this to get rid of a persistent Terminal message... and so following this tip did actually work and added my text line, BUT I still have this lingering line of text &quot;You have mail.&quot; in any new Terminal window... Any one know how to get rid of it or why its there... :-(  

Thnx 
MOKA</description>
		<content:encoded><![CDATA[<p>I tried this to get rid of a persistent Terminal message&#8230; and so following this tip did actually work and added my text line, BUT I still have this lingering line of text &#8220;You have mail.&#8221; in any new Terminal window&#8230; Any one know how to get rid of it or why its there&#8230; <img src='http://cdn.osxdaily.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />   </p>
<p>Thnx<br />
MOKA</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Remove the &#8220;Last login&#8221; message from the Terminal - OS X Daily</title>
		<link>http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-104177</link>
		<dc:creator>Remove the &#8220;Last login&#8221; message from the Terminal - OS X Daily</dc:creator>
		<pubDate>Tue, 22 Jun 2010 15:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-104177</guid>
		<description>[...] you want to, you can create a custom MOTD with whatever message you want that will be displayed [...]</description>
		<content:encoded><![CDATA[<p>[...] you want to, you can create a custom MOTD with whatever message you want that will be displayed [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-98937</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 09 Dec 2009 06:15:58 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-98937</guid>
		<description>Too late for sully, but here&#039;s how to undo &quot;touch .hushlogin&quot; to get back the &quot;Last login&quot;
line at the start of each terminal session.

If you used &quot;touch .hushlogin&quot; command to remove the &quot;Last login...&quot;  info, which shows up at each login to terminal, you can restore the &quot;Last login&quot;  info by deleting the invisible .hushlogin file, located in your home folder.  

One way to do this is to open terminal and type &quot;rm ~/.hushlogin&quot;  (without the quotes, of course!)   $ rm ~/.hushlogin</description>
		<content:encoded><![CDATA[<p>Too late for sully, but here&#8217;s how to undo &#8220;touch .hushlogin&#8221; to get back the &#8220;Last login&#8221;<br />
line at the start of each terminal session.</p>
<p>If you used &#8220;touch .hushlogin&#8221; command to remove the &#8220;Last login&#8230;&#8221;  info, which shows up at each login to terminal, you can restore the &#8220;Last login&#8221;  info by deleting the invisible .hushlogin file, located in your home folder.  </p>
<p>One way to do this is to open terminal and type &#8220;rm ~/.hushlogin&#8221;  (without the quotes, of course!)   $ rm ~/.hushlogin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: josh Fuller</title>
		<link>http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-95552</link>
		<dc:creator>josh Fuller</dc:creator>
		<pubDate>Fri, 28 Aug 2009 19:45:40 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-95552</guid>
		<description>~/.hushlogin actually prevents the system from displaying /etc/motd during your logins. You can still put your own login customizations into ~/.profile if you wish, for example...

$ sudo vi ~/.profile

Edit this like a regular bash script and use echo to display what you wanted in your motd.</description>
		<content:encoded><![CDATA[<p>~/.hushlogin actually prevents the system from displaying /etc/motd during your logins. You can still put your own login customizations into ~/.profile if you wish, for example&#8230;</p>
<p>$ sudo vi ~/.profile</p>
<p>Edit this like a regular bash script and use echo to display what you wanted in your motd.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sully</title>
		<link>http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-93600</link>
		<dc:creator>sully</dc:creator>
		<pubDate>Wed, 15 Apr 2009 02:42:48 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-93600</guid>
		<description>ok. i customized the motd, it worked fine.  but then i used &quot;touch .hushlogin&quot; to remove the &quot;Last Login...&quot; info from showing up every time i start Terminal.  It worked in removing the &quot;Last Login...&quot; info, but it also has stopped my motd from displaying.  any help in undoing hushlogin would be greatly appreciated.  i just want the motd to come back upon launch.</description>
		<content:encoded><![CDATA[<p>ok. i customized the motd, it worked fine.  but then i used &#8220;touch .hushlogin&#8221; to remove the &#8220;Last Login&#8230;&#8221; info from showing up every time i start Terminal.  It worked in removing the &#8220;Last Login&#8230;&#8221; info, but it also has stopped my motd from displaying.  any help in undoing hushlogin would be greatly appreciated.  i just want the motd to come back upon launch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yes</title>
		<link>http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-76135</link>
		<dc:creator>Yes</dc:creator>
		<pubDate>Mon, 13 Oct 2008 17:52:55 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-76135</guid>
		<description>In case anyone is still wondering, this how to get rid of the &quot;Last login:&quot; message. Run `touch .hushlogin` in your home folder.</description>
		<content:encoded><![CDATA[<p>In case anyone is still wondering, this how to get rid of the &#8220;Last login:&#8221; message. Run `touch .hushlogin` in your home folder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tipster</title>
		<link>http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-1976</link>
		<dc:creator>Tipster</dc:creator>
		<pubDate>Wed, 21 Feb 2007 18:45:33 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-1976</guid>
		<description>Joel,

&#039;sudo nano&#039; is a command that runs the nano text editor as the super user root (or system administrator), thus allowing you to edit the /etc/motd file</description>
		<content:encoded><![CDATA[<p>Joel,</p>
<p>&#8216;sudo nano&#8217; is a command that runs the nano text editor as the super user root (or system administrator), thus allowing you to edit the /etc/motd file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel</title>
		<link>http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-1823</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Mon, 19 Feb 2007 12:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-1823</guid>
		<description>hi, could any one tell me What &quot;Sudo nano&quot; means?
Thanks</description>
		<content:encoded><![CDATA[<p>hi, could any one tell me What &#8220;Sudo nano&#8221; means?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vlad</title>
		<link>http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-1246</link>
		<dc:creator>vlad</dc:creator>
		<pubDate>Thu, 08 Feb 2007 06:05:38 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-1246</guid>
		<description>is there a way to get rid of the &quot;last login&quot; message as well?</description>
		<content:encoded><![CDATA[<p>is there a way to get rid of the &#8220;last login&#8221; message as well?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mario</title>
		<link>http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-949</link>
		<dc:creator>Mario</dc:creator>
		<pubDate>Thu, 01 Feb 2007 07:03:57 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-949</guid>
		<description>Thanks, Ivan. I suspected I needed to type sudo before the command, but I wasn&#039;t sure.</description>
		<content:encoded><![CDATA[<p>Thanks, Ivan. I suspected I needed to type sudo before the command, but I wasn&#8217;t sure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IvanTheTerrible</title>
		<link>http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-903</link>
		<dc:creator>IvanTheTerrible</dc:creator>
		<pubDate>Wed, 31 Jan 2007 08:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2007/01/30/change-the-mac-os-x-terminals-message-of-the-day/#comment-903</guid>
		<description>Mario, 

I don&#039;t think you&#039;re alone. Try adding the &#039;sudo&#039; command to the sequence in front of nano. This would make the new command be:

sudo nano /etc/motd

It will prompt you for the administrator password, which allows you to edit the file by running nano as root. Hope that helps you and others. 

Also, you can quit nano by hitting control-X</description>
		<content:encoded><![CDATA[<p>Mario, </p>
<p>I don&#8217;t think you&#8217;re alone. Try adding the &#8216;sudo&#8217; command to the sequence in front of nano. This would make the new command be:</p>
<p>sudo nano /etc/motd</p>
<p>It will prompt you for the administrator password, which allows you to edit the file by running nano as root. Hope that helps you and others. </p>
<p>Also, you can quit nano by hitting control-X</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (User agent is rejected)
Database Caching 2/3 queries in 0.001 seconds using disk: basic
Object Caching 348/348 objects using disk: basic
Content Delivery Network via cdn.osxdaily.com

Served from: osxdaily.com @ 2012-05-21 17:09:35 -->
