<?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>
	Kommentare zu: Terminal mit flotten Sprüchen wie bei Linux Mint	</title>
	<atom:link href="https://linuxundich.de/gnu-linux/terminal-mit-flotten-spruchen-wie-bei-linux-mint/feed/" rel="self" type="application/rss+xml" />
	<link>https://linuxundich.de/gnu-linux/terminal-mit-flotten-spruchen-wie-bei-linux-mint/</link>
	<description>Blog über Ubuntu, Linux, Android und IT</description>
	<lastBuildDate>Thu, 13 Mar 2025 12:34:55 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		Von: Tobias		</title>
		<link>https://linuxundich.de/gnu-linux/terminal-mit-flotten-spruchen-wie-bei-linux-mint/#comment-68632</link>

		<dc:creator><![CDATA[Tobias]]></dc:creator>
		<pubDate>Fri, 01 Jun 2018 22:00:50 +0000</pubDate>
		<guid isPermaLink="false">http://linuxundich.de/de/?p=2338#comment-68632</guid>

					<description><![CDATA[Hey, danke für den Artikel. Ein cooles Programm. Ist das noch aktuell? ich habe es auf Debian 8 probiert und wollt gerne Deutsche Sprüche ausgeben.. Ich habe fortune, fortune-mod und fortune-de installiert mit jeder Menge Dateien (quiz, witze, zitate, suppe, etc.) in /usr/share/games/fortunes-de/. Allerdings wenn ich /usr/games/fortune starte kommen nur Englische Kekse. Ich habe probiert fortune so zu starten
&lt;blockquote&gt;/usr/games/fortune -a /usr/share/games/fortunes-de/&lt;/blockquote&gt;
allerdings sagt er mir dann dass Verzeichnis keine Fortunedateien enthält. Wenn ich das gleiche mit dem Englischen Verzeichnis also
&lt;blockquote&gt;/usr/games/fortune -a /usr/share/games/fortunes/&lt;/blockquote&gt;
klappt es.. Danke für jede Hilfe 
Liebe Grüsse, Tobias]]></description>
			<content:encoded><![CDATA[<p>Hey, danke für den Artikel. Ein cooles Programm. Ist das noch aktuell? ich habe es auf Debian 8 probiert und wollt gerne Deutsche Sprüche ausgeben.. Ich habe fortune, fortune-mod und fortune-de installiert mit jeder Menge Dateien (quiz, witze, zitate, suppe, etc.) in /usr/share/games/fortunes-de/. Allerdings wenn ich /usr/games/fortune starte kommen nur Englische Kekse. Ich habe probiert fortune so zu starten</p>
<blockquote><p>/usr/games/fortune -a /usr/share/games/fortunes-de/</p></blockquote>
<p>allerdings sagt er mir dann dass Verzeichnis keine Fortunedateien enthält. Wenn ich das gleiche mit dem Englischen Verzeichnis also</p>
<blockquote><p>/usr/games/fortune -a /usr/share/games/fortunes/</p></blockquote>
<p>klappt es.. Danke für jede Hilfe<br>
Liebe Grüsse, Tobias</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Von: telex		</title>
		<link>https://linuxundich.de/gnu-linux/terminal-mit-flotten-spruchen-wie-bei-linux-mint/#comment-3395</link>

		<dc:creator><![CDATA[telex]]></dc:creator>
		<pubDate>Sun, 13 Sep 2009 16:43:20 +0000</pubDate>
		<guid isPermaLink="false">http://linuxundich.de/de/?p=2338#comment-3395</guid>

					<description><![CDATA[danke]]></description>
			<content:encoded><![CDATA[<p>danke</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Von: Christoph		</title>
		<link>https://linuxundich.de/gnu-linux/terminal-mit-flotten-spruchen-wie-bei-linux-mint/#comment-3394</link>

		<dc:creator><![CDATA[Christoph]]></dc:creator>
		<pubDate>Sun, 13 Sep 2009 15:51:39 +0000</pubDate>
		<guid isPermaLink="false">http://linuxundich.de/de/?p=2338#comment-3394</guid>

					<description><![CDATA[Schau dir mal die Manpage von fortune an :)

&lt;pre&gt;
$ man fortune
[...]
       -n length
Set the longest fortune length (in characters) considered to be ‘‘short’’ (the default is 160). All fortunes longer than this  are  considered ‘‘long’’. Be careful! If you set the length too short and ask for short fortunes, or too long and ask for long ones, fortune goes into a never-ending thrash loop.
[...]
       -s     Short apothegms only.  See -n on which fortunes are considered ‘‘short’’.
[...]
&lt;/pre&gt;

Ein

&lt;pre&gt;
$ fortune -s -n 200
&lt;/pre&gt;

gibt also nur Fortunes mit weniger als 200 Zeichen aus. Dein Skript würde dann bspw. so

&lt;pre&gt;
# Gibt mittels Cowsay und Fortunes Sprueche aus
if [ -f /usr/games/fortune -a -d /usr/share/cowsay ]; then
     dir=&#039;/usr/share/cowsay/cows/&#039;
     file=`/bin/ls -1 &quot;$dir&quot; &#124; sort --random-sort &#124; head -1`
     cow=$(echo &quot;$file&quot; &#124; sed -e &quot;s/\.cow//&quot;)
     /usr/games/fortune -s -n 200 quiz wusstensie &#124; /usr/games/cowsay -f $cow
fi
&lt;/pre&gt;

aussehen. :)]]></description>
			<content:encoded><![CDATA[<p>Schau dir mal die Manpage von fortune an 🙂</p>
<pre>
$ man fortune
[...]
       -n length
Set the longest fortune length (in characters) considered to be ‘‘short’’ (the default is 160). All fortunes longer than this  are  considered ‘‘long’’. Be careful! If you set the length too short and ask for short fortunes, or too long and ask for long ones, fortune goes into a never-ending thrash loop.
[...]
       -s     Short apothegms only.  See -n on which fortunes are considered ‘‘short’’.
[...]
</pre>
<p>Ein</p>
<pre>
$ fortune -s -n 200
</pre>
<p>gibt also nur Fortunes mit weniger als 200 Zeichen aus. Dein Skript würde dann bspw. so</p>
<pre>
# Gibt mittels Cowsay und Fortunes Sprueche aus
if [ -f /usr/games/fortune -a -d /usr/share/cowsay ]; then
     dir='/usr/share/cowsay/cows/'
     file=`/bin/ls -1 "$dir" | sort --random-sort | head -1`
     cow=$(echo "$file" | sed -e "s/\.cow//")
     /usr/games/fortune -s -n 200 quiz wusstensie | /usr/games/cowsay -f $cow
fi
</pre>
<p>aussehen. 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Von: telex		</title>
		<link>https://linuxundich.de/gnu-linux/terminal-mit-flotten-spruchen-wie-bei-linux-mint/#comment-3392</link>

		<dc:creator><![CDATA[telex]]></dc:creator>
		<pubDate>Sun, 13 Sep 2009 15:06:02 +0000</pubDate>
		<guid isPermaLink="false">http://linuxundich.de/de/?p=2338#comment-3392</guid>

					<description><![CDATA[wie sähe das skript aus, wenn ich zusätzlich nur zitate angezeigt haben möchte, die max 200 zeichen haben?
geht das überhaupt?

telex]]></description>
			<content:encoded><![CDATA[<p>wie sähe das skript aus, wenn ich zusätzlich nur zitate angezeigt haben möchte, die max 200 zeichen haben?<br>
geht das überhaupt?</p>
<p>telex</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Von: merry		</title>
		<link>https://linuxundich.de/gnu-linux/terminal-mit-flotten-spruchen-wie-bei-linux-mint/#comment-3003</link>

		<dc:creator><![CDATA[merry]]></dc:creator>
		<pubDate>Fri, 07 Aug 2009 17:23:50 +0000</pubDate>
		<guid isPermaLink="false">http://linuxundich.de/de/?p=2338#comment-3003</guid>

					<description><![CDATA[Ich bin das Tutorial genauso durchgegangen, wie beschrieben. Zumindest glaube ich das, aber ich bekomme leider &quot;No fortunes found&quot;. &quot;fortune -f&quot; zeigt mir auch überhaupt keine deutschen Kategorien an. fortunes-de hab ich bereits neu installiert. Mir fehlt jetzt leider ein Hinweis, wie ich fortune die deutschen Sprüche gebe.
Gruß]]></description>
			<content:encoded><![CDATA[<p>Ich bin das Tutorial genauso durchgegangen, wie beschrieben. Zumindest glaube ich das, aber ich bekomme leider &#8222;No fortunes found&#8220;. &#8222;fortune -f&#8220; zeigt mir auch überhaupt keine deutschen Kategorien an. fortunes-de hab ich bereits neu installiert. Mir fehlt jetzt leider ein Hinweis, wie ich fortune die deutschen Sprüche gebe.<br>
Gruß</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Von: Christoph		</title>
		<link>https://linuxundich.de/gnu-linux/terminal-mit-flotten-spruchen-wie-bei-linux-mint/#comment-3002</link>

		<dc:creator><![CDATA[Christoph]]></dc:creator>
		<pubDate>Fri, 07 Aug 2009 16:24:36 +0000</pubDate>
		<guid isPermaLink="false">http://linuxundich.de/de/?p=2338#comment-3002</guid>

					<description><![CDATA[Hallo Martin, schau dir den Artikel bitte nochmal genau an, die passende Stelle, ab der es für dich interessant ist lautet &quot;Eine Übersicht der möglichen Begriffe erhält man anschließend über...&quot; :)]]></description>
			<content:encoded><![CDATA[<p>Hallo Martin, schau dir den Artikel bitte nochmal genau an, die passende Stelle, ab der es für dich interessant ist lautet &#8222;Eine Übersicht der möglichen Begriffe erhält man anschließend über&#8230;&#8220; 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Von: martin		</title>
		<link>https://linuxundich.de/gnu-linux/terminal-mit-flotten-spruchen-wie-bei-linux-mint/#comment-3001</link>

		<dc:creator><![CDATA[martin]]></dc:creator>
		<pubDate>Fri, 07 Aug 2009 14:48:23 +0000</pubDate>
		<guid isPermaLink="false">http://linuxundich.de/de/?p=2338#comment-3001</guid>

					<description><![CDATA[ich bekomme wenn ich das obere in die .bashrc eintrage immer nur die &quot;Sprüche&quot;. Die machen ja ber nur 1,6% der installierten deutschen fortunes aus. Kann die Kuh auch Zitate und so?]]></description>
			<content:encoded><![CDATA[<p>ich bekomme wenn ich das obere in die .bashrc eintrage immer nur die &#8222;Sprüche&#8220;. Die machen ja ber nur 1,6% der installierten deutschen fortunes aus. Kann die Kuh auch Zitate und so?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Von: Christoph		</title>
		<link>https://linuxundich.de/gnu-linux/terminal-mit-flotten-spruchen-wie-bei-linux-mint/#comment-2621</link>

		<dc:creator><![CDATA[Christoph]]></dc:creator>
		<pubDate>Tue, 16 Jun 2009 08:08:35 +0000</pubDate>
		<guid isPermaLink="false">http://linuxundich.de/de/?p=2338#comment-2621</guid>

					<description><![CDATA[&lt;p&gt;Gnomer, schau dir mal die Artikel &lt;a href=&quot;http://linuxundich.de/de/2009/05/paketquelle-fur-shiki-colors/&quot; rel=&quot;nofollow&quot;&gt;Paketquelle für Shiki-Colors&lt;/a&gt; und &lt;a href=&quot;http://linuxundich.de/de/2008/12/mein-gnome-desktop-shiki-bites-the-dust/&quot; rel=&quot;nofollow&quot;&gt;Mein GNOME Desktop… Shiki bites the Dust&lt;/a&gt; an :)&lt;/p&gt;
]]></description>
			<content:encoded><![CDATA[<p>Gnomer, schau dir mal die Artikel <a href="http://linuxundich.de/de/2009/05/paketquelle-fur-shiki-colors/" rel="nofollow">Paketquelle für Shiki-Colors</a> und <a href="http://linuxundich.de/de/2008/12/mein-gnome-desktop-shiki-bites-the-dust/" rel="nofollow">Mein GNOME Desktop… Shiki bites the Dust</a> an 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Von: Gnomer		</title>
		<link>https://linuxundich.de/gnu-linux/terminal-mit-flotten-spruchen-wie-bei-linux-mint/#comment-2620</link>

		<dc:creator><![CDATA[Gnomer]]></dc:creator>
		<pubDate>Tue, 16 Jun 2009 08:01:24 +0000</pubDate>
		<guid isPermaLink="false">http://linuxundich.de/de/?p=2338#comment-2620</guid>

					<description><![CDATA[&lt;p&gt;Wie heisst das Theme aus dem Screenshot?&lt;/p&gt;
]]></description>
			<content:encoded><![CDATA[<p>Wie heisst das Theme aus dem Screenshot?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Von: Christoph		</title>
		<link>https://linuxundich.de/gnu-linux/terminal-mit-flotten-spruchen-wie-bei-linux-mint/#comment-2613</link>

		<dc:creator><![CDATA[Christoph]]></dc:creator>
		<pubDate>Mon, 15 Jun 2009 13:52:57 +0000</pubDate>
		<guid isPermaLink="false">http://linuxundich.de/de/?p=2338#comment-2613</guid>

					<description><![CDATA[&lt;p&gt;Keba, Coole Idee. Das müsste eigentlich recht leicht zu machen sein. Man nehme cowsay und fortunes. Wandle das Ergebnis von Text zu einem Bild und füge dann dieses Bild mittels imagemagick mit einem netten Hintergrund zusammen. Ich schau mal ob sich das machen lässt :)&lt;/p&gt;
]]></description>
			<content:encoded><![CDATA[<p>Keba, Coole Idee. Das müsste eigentlich recht leicht zu machen sein. Man nehme cowsay und fortunes. Wandle das Ergebnis von Text zu einem Bild und füge dann dieses Bild mittels imagemagick mit einem netten Hintergrund zusammen. Ich schau mal ob sich das machen lässt 🙂</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
