<?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: Adding Random Quotes to the Bash Login Screen	</title>
	<atom:link href="https://systembash.com/adding-random-quotes-to-the-bash-login-screen/feed/" rel="self" type="application/rss+xml" />
	<link>https://systembash.com/adding-random-quotes-to-the-bash-login-screen/</link>
	<description>Technology and System Administration</description>
	<lastBuildDate>Tue, 21 Dec 2010 20:49:00 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.3.1</generator>
	<item>
		<title>
		By: Dave Drager		</title>
		<link>https://systembash.com/adding-random-quotes-to-the-bash-login-screen/#comment-41777</link>

		<dc:creator><![CDATA[Dave Drager]]></dc:creator>
		<pubDate>Tue, 21 Dec 2010 20:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://systembash.com/?p=873#comment-41777</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://systembash.com/adding-random-quotes-to-the-bash-login-screen/#comment-41776&quot;&gt;Milan&lt;/a&gt;.

Nice, thanks for the info about xmlstarlet, I hadn&#039;t heard of it. I&#039;ve tested on an Ubuntu 10.04 and that is the distro with /etc/update-motd.d dir. I&#039;m not sure which other distros include that but it can be placed whereever.

xmlstarlet was not installed for me, but was available via apt-get in the default sources. It did not provide &#039;xml&#039; to me but you could easily link it to xmlstarlet.  

You are right /etc/ is not the best place for this; probably /usr/local/scripts/ or similar. I use /etc/ since I back all of those files up. :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://systembash.com/adding-random-quotes-to-the-bash-login-screen/#comment-41776">Milan</a>.</p>
<p>Nice, thanks for the info about xmlstarlet, I hadn&#8217;t heard of it. I&#8217;ve tested on an Ubuntu 10.04 and that is the distro with /etc/update-motd.d dir. I&#8217;m not sure which other distros include that but it can be placed whereever.</p>
<p>xmlstarlet was not installed for me, but was available via apt-get in the default sources. It did not provide &#8216;xml&#8217; to me but you could easily link it to xmlstarlet.  </p>
<p>You are right /etc/ is not the best place for this; probably /usr/local/scripts/ or similar. I use /etc/ since I back all of those files up. :)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Milan		</title>
		<link>https://systembash.com/adding-random-quotes-to-the-bash-login-screen/#comment-41776</link>

		<dc:creator><![CDATA[Milan]]></dc:creator>
		<pubDate>Tue, 21 Dec 2010 20:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://systembash.com/?p=873#comment-41776</guid>

					<description><![CDATA[curl -s &#039;http://www.quotedb.com/quote/quote.php?action=random_quote_rss&#039; &#124; xml sel -t -m &#039;//item&#039; -v &#039;description&#039; -n

This is xmlstarlet in action. I was just wondering which distro are you using? I don&#039;t have /etc/update-motd.d, and you do have /etc/scripts or you made this dir? /etc is not really good place for this...]]></description>
			<content:encoded><![CDATA[<p>curl -s &#8216;http://www.quotedb.com/quote/quote.php?action=random_quote_rss&#8217; | xml sel -t -m &#8216;//item&#8217; -v &#8216;description&#8217; -n</p>
<p>This is xmlstarlet in action. I was just wondering which distro are you using? I don&#8217;t have /etc/update-motd.d, and you do have /etc/scripts or you made this dir? /etc is not really good place for this&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dave Drager		</title>
		<link>https://systembash.com/adding-random-quotes-to-the-bash-login-screen/#comment-41775</link>

		<dc:creator><![CDATA[Dave Drager]]></dc:creator>
		<pubDate>Tue, 21 Dec 2010 16:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://systembash.com/?p=873#comment-41775</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://systembash.com/adding-random-quotes-to-the-bash-login-screen/#comment-41774&quot;&gt;Natxo Asenjo&lt;/a&gt;.

I did stumble across fortune, which was unfamiliar to me (despite its long-term existence!), but I wanted to grab it from an online source so that I didn&#039;t have to manage a database of quotations. My thinking is that they would be more varied than a source that I self-select. Thanks for the tip!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://systembash.com/adding-random-quotes-to-the-bash-login-screen/#comment-41774">Natxo Asenjo</a>.</p>
<p>I did stumble across fortune, which was unfamiliar to me (despite its long-term existence!), but I wanted to grab it from an online source so that I didn&#8217;t have to manage a database of quotations. My thinking is that they would be more varied than a source that I self-select. Thanks for the tip!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Natxo Asenjo		</title>
		<link>https://systembash.com/adding-random-quotes-to-the-bash-login-screen/#comment-41774</link>

		<dc:creator><![CDATA[Natxo Asenjo]]></dc:creator>
		<pubDate>Tue, 21 Dec 2010 15:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://systembash.com/?p=873#comment-41774</guid>

					<description><![CDATA[this is what fortune cookies are for: http://en.wikipedia.org/wiki/Fortune_%28Unix%29]]></description>
			<content:encoded><![CDATA[<p>this is what fortune cookies are for: <a href="http://en.wikipedia.org/wiki/Fortune_%28Unix%29" rel="nofollow ugc">http://en.wikipedia.org/wiki/Fortune_%28Unix%29</a></p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
