<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bropages &#8211; Linux und Ich</title>
	<atom:link href="https://linuxundich.de/tag/bropages/feed/" rel="self" type="application/rss+xml" />
	<link>https://linuxundich.de</link>
	<description>Blog über Ubuntu, Linux, Android und IT</description>
	<lastBuildDate>Thu, 13 Mar 2025 11:20:26 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://linuxundich.de/wp-content/uploads/2025/04/cropped-lui-app-512-32x32.png</url>
	<title>Bropages &#8211; Linux und Ich</title>
	<link>https://linuxundich.de</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Bropages und commandlinefu.com liefern Beispiele zu Terminalbefehlen&#8230; auch aus dem Terminal heraus</title>
		<link>https://linuxundich.de/gnu-linux/bropages-und-commandlinefu-com-liefern-beispiele-zu-terminalbefehlen-auch-aus-dem-terminal-heraus/</link>
					<comments>https://linuxundich.de/gnu-linux/bropages-und-commandlinefu-com-liefern-beispiele-zu-terminalbefehlen-auch-aus-dem-terminal-heraus/#comments</comments>
		
		<dc:creator><![CDATA[Christoph Langner]]></dc:creator>
		<pubDate>Sat, 22 Mar 2014 17:32:27 +0000</pubDate>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Bropages]]></category>
		<category><![CDATA[commandlinefu.com]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[Tipps]]></category>
		<guid isPermaLink="false">http://linuxundich.de/?p=23110</guid>

					<description><![CDATA[Von manpages haben mich Sicherheit auch Linux-Neulinge schon etwas gehört, aber bropages? Was ist das? Bropages &#8212; Fans von How I met your mother dürften die Anspielung erkennen &#8212; ist ein relativ neues Projekt, das zu Befehlen keine super-ausführlichen Erklärungen geben möchte, sondern einfach und simpel anhand von ein paar Beispielen erklären will, was man wie [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Von manpages haben mich Sicherheit auch Linux-Neulinge schon etwas gehört, aber bropages? Was ist das? <a href="http://bropages.org" target="_blank" rel="noopener">Bropages</a> &#8212; Fans von How I met your mother dürften die Anspielung erkennen &#8212; ist ein relativ neues Projekt, das zu Befehlen keine super-ausführlichen Erklärungen geben möchte, sondern einfach und simpel anhand von ein paar Beispielen erklären will, was man wie mit einem Terminalbefehl machen kann. Die Bropages sind daher ein wenig vergleichbar mit <a href="commandlinefu.com">commandlinefu.com</a>, zu beiden Seiten gibt es auch Terminal-Frontends, den meistens braucht man solche Infos eben dann, wenn man sowieso gerade im Terminal steckt.</p>
<p><span id="more-23110"></span></p>
<h2>Bropages</h2>
<p>Die Bropages sind ein noch relativ junges Projekt, demzufolge ist die Installation leider nicht ganz simpel. Für <a href="https://aur.archlinux.org/packages/bropages/?setlang=de" target="_blank" rel="noopener">Arch Linux gibt es zwar schon ein Paket im AUR</a>, doch unter Ubuntu/Debian hat sich das Projekt noch nicht in die Paketquellen oder wenigstens ein PPA geschmuggelt. Von daher hat man gerade unter Ubuntu ein wenig mehr Arbeit vor sich, da die Bropages auf Ruby aufbauen und wohl die meisten erstmal Ruby auf dem Rechner einrichten müssten. Die Installation der Bropages ist dann aber nach dem ordentlichem Einrichten der Ruby-Umgebung als RubyGem relativ leicht.</p>
<figure id="attachment_23112" aria-describedby="caption-attachment-23112" style="width: 640px" class="wp-caption aligncenter"><a href="http://linuxundich.de/wp-content/uploads/2014/03/bro-curl.png"><img fetchpriority="high" decoding="async" class="td-modal-image wp-image-23112 size-medium" src="https://linuxundich.de/wp-content/uploads/2014/03/bro-curl-640x370.png" alt="Bro liefert Beispiele zum Download von Daten via Curl." width="640" height="370" srcset="https://linuxundich.de/wp-content/uploads/2014/03/bro-curl-640x370.png 640w, https://linuxundich.de/wp-content/uploads/2014/03/bro-curl-727x420.png 727w, https://linuxundich.de/wp-content/uploads/2014/03/bro-curl-681x394.png 681w, https://linuxundich.de/wp-content/uploads/2014/03/bro-curl-250x145.png 250w, https://linuxundich.de/wp-content/uploads/2014/03/bro-curl-550x318.png 550w, https://linuxundich.de/wp-content/uploads/2014/03/bro-curl-311x180.png 311w, https://linuxundich.de/wp-content/uploads/2014/03/bro-curl-519x300.png 519w, https://linuxundich.de/wp-content/uploads/2014/03/bro-curl.png 737w" sizes="(max-width: 640px) 100vw, 640px"></a><figcaption id="caption-attachment-23112" class="wp-caption-text">Bro liefert Beispiele zum Download von Daten via Curl.</figcaption></figure>
<figure id="attachment_23114" aria-describedby="caption-attachment-23114" style="width: 640px" class="wp-caption aligncenter"><a href="http://linuxundich.de/wp-content/uploads/2014/03/bro-tar.png"><img decoding="async" class="td-modal-image wp-image-23114 size-medium" src="https://linuxundich.de/wp-content/uploads/2014/03/bro-tar-640x370.png" alt="Bro liefert Beispiele zum Download von Daten via Curl." width="640" height="370" srcset="https://linuxundich.de/wp-content/uploads/2014/03/bro-tar-640x370.png 640w, https://linuxundich.de/wp-content/uploads/2014/03/bro-tar-727x420.png 727w, https://linuxundich.de/wp-content/uploads/2014/03/bro-tar-681x394.png 681w, https://linuxundich.de/wp-content/uploads/2014/03/bro-tar-250x145.png 250w, https://linuxundich.de/wp-content/uploads/2014/03/bro-tar-550x318.png 550w, https://linuxundich.de/wp-content/uploads/2014/03/bro-tar-311x180.png 311w, https://linuxundich.de/wp-content/uploads/2014/03/bro-tar-519x300.png 519w, https://linuxundich.de/wp-content/uploads/2014/03/bro-tar.png 737w" sizes="(max-width: 640px) 100vw, 640px"></a><figcaption id="caption-attachment-23114" class="wp-caption-text">Bro liefert Beispiele zum Download von Daten via Curl.</figcaption></figure>
<figure id="attachment_23113" aria-describedby="caption-attachment-23113" style="width: 640px" class="wp-caption aligncenter"><a href="http://linuxundich.de/wp-content/uploads/2014/03/bro-rm-downvote.png"><img decoding="async" class="td-modal-image wp-image-23113 size-medium" src="https://linuxundich.de/wp-content/uploads/2014/03/bro-rm-downvote-640x370.png" alt="Nicht jeder Tipp ist gut, daher lassen sich Einträge auf- und abwerten." width="640" height="370" srcset="https://linuxundich.de/wp-content/uploads/2014/03/bro-rm-downvote-640x370.png 640w, https://linuxundich.de/wp-content/uploads/2014/03/bro-rm-downvote-727x420.png 727w, https://linuxundich.de/wp-content/uploads/2014/03/bro-rm-downvote-681x394.png 681w, https://linuxundich.de/wp-content/uploads/2014/03/bro-rm-downvote-250x145.png 250w, https://linuxundich.de/wp-content/uploads/2014/03/bro-rm-downvote-550x318.png 550w, https://linuxundich.de/wp-content/uploads/2014/03/bro-rm-downvote-311x180.png 311w, https://linuxundich.de/wp-content/uploads/2014/03/bro-rm-downvote-519x300.png 519w, https://linuxundich.de/wp-content/uploads/2014/03/bro-rm-downvote.png 737w" sizes="(max-width: 640px) 100vw, 640px"></a><figcaption id="caption-attachment-23113" class="wp-caption-text">Nicht jeder Tipp ist gut, daher lassen sich Einträge auf- und abwerten.</figcaption></figure>
<h3>Ruby unter Ubuntu/Debian installieren</h3>
<p>Holt euch erst einmal Ruby aus der Paketverwaltung&#8230;</p>
<pre>$ sudo apt-get install ruby</pre>
<h3>RubyGems zum PATH hinzufügen</h3>
<p>Tragt den Pfad zum Installationsverzeichnis der RubyGems in eure <code>~/.bashrc</code> oder  <code>~/.profile</code> ein und startet danach&#8230;</p>
<pre>if which ruby &gt;/dev/null &amp;&amp; which gem &gt;/dev/null; then
    PATH="$(ruby -rubygems -e 'puts Gem.user_dir')/bin:$PATH"
fi</pre>
<p>&#8230; das Terminal neu. Der $PATH sollte nun um den Pfad zu <code>~/.gem/ruby/...</code> in eurem Homeverzeichnis erweitert worden sein.</p>
<pre>$ echo $PATH
/home/toff/.gem/ruby/2.1.0/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/core_perl</pre>
<h3>Bropages installieren</h3>
<p>Anschließend lassen sich in Ubuntu, Debian oder Linux Mint die Bropages installieren. Für Arch-Linux-User verweise ich einfach nur nochmal auf das <a href="https://aur.archlinux.org/packages/bropages/?setlang=de" target="_blank" rel="noopener">Paket im AUR</a>, ihr könnt euch das Ganze Prozedere zuvor ersparen.</p>
<pre>$ gem install bropages
$ gem update bropages</pre>
<h3>Bro, wie funktioniert&#8230;</h3>
<p>Nun solltet ihr die Bropages zu einer <a href="http://bropages.org/browse" target="_blank" rel="noopener">ganzen Reihe von Befehlen</a> aufrufen können. Über bro lassen sich auch weitere Kommandos hinzufüge und Kommandos aus der zuletzt abgerufene Bropage hoch- oder abstufen. Allerdings müsst ihr euch dazu mit eurer E-Mail-Adresse bei den Bropages authentifizieren, die geschieht beim ersten mal, wenn ihr eine entsprechende Aktion ausführt.</p>
<pre># Bro, was hat es mit curl auf sich?
$ bro curl

# Füge ein neues Beispiel zu den Bropages hinzu.
$ bro add curl

# Werte das Beispiel X bzw. Y auf oder ab.
$ bro thanks X
$ bro no Y</pre>
<h2>commandlinefu.com</h2>
<p>Alternativ gibt es auch zu <a href="https://github.com/samirahmed/fu" target="_blank" rel="noopener">commandlinefu.com ein Terminal-Frontend</a>, so dass man sich direkt aus dem Terminal heraus Tipps zu einzelnen Kommandos holen kann. Im Gegensatz zu den Bropages liefert commandlinefu.com jedoch eher &#8222;abgefahrene&#8220; Beispiele, als dass man schnell mal die Syntax eines Kommandos nachschlagen kann. Nichts desto trotz kann man besonders von commandlinefu.com viel über Terminalbefehle lernen.</p>
<figure id="attachment_23128" aria-describedby="caption-attachment-23128" style="width: 640px" class="wp-caption aligncenter"><a href="http://linuxundich.de/wp-content/uploads/2014/03/fu-commandolinefu.png"><img loading="lazy" decoding="async" class="td-modal-image wp-image-23128 size-medium" src="https://linuxundich.de/wp-content/uploads/2014/03/fu-commandolinefu-640x398.png" alt="fu ist ein Kommandozeilenfrontend für commandlinefu.com" width="640" height="398" srcset="https://linuxundich.de/wp-content/uploads/2014/03/fu-commandolinefu-640x398.png 640w, https://linuxundich.de/wp-content/uploads/2014/03/fu-commandolinefu-676x420.png 676w, https://linuxundich.de/wp-content/uploads/2014/03/fu-commandolinefu-681x423.png 681w, https://linuxundich.de/wp-content/uploads/2014/03/fu-commandolinefu-250x155.png 250w, https://linuxundich.de/wp-content/uploads/2014/03/fu-commandolinefu-550x342.png 550w, https://linuxundich.de/wp-content/uploads/2014/03/fu-commandolinefu-290x180.png 290w, https://linuxundich.de/wp-content/uploads/2014/03/fu-commandolinefu-483x300.png 483w, https://linuxundich.de/wp-content/uploads/2014/03/fu-commandolinefu.png 724w" sizes="auto, (max-width: 640px) 100vw, 640px"></a><figcaption id="caption-attachment-23128" class="wp-caption-text">fu ist ein Kommandozeilenfrontend für commandlinefu.com</figcaption></figure>
<p>Das Frontend hat sich auch noch nicht in die Paketquellen von Ubuntu/Debian oder in ein PPA gekämpft, von daher muss man &#8222;fu&#8220; wie auch die Bropages unter Ubuntu, Debian und Linux Mint von Hand installieren. Arch-Linuxer haben es wie immer einfacher, hier gibt es <a href="https://aur.archlinux.org/packages/fu-git/" target="_blank" rel="noopener">fu-git bereits im AUR</a>. Die folgenden Installationshinweise gelten daher nur für die Ubuntu-User unter euch.</p>
<pre>$ git clone git://github.com/samirahmed/fu.git
$ cd fu/
$ sudo make install</pre>
<p>Nach der Installation lässt sich nun commandlinefu.com durchsuchen. fu beschränkt dabei die Ausgabe von Haus aus auf die ersten drei Treffer, so dass es im Terminal halbwegs übersichtlich bleibt.</p>
<pre>$ fu tar
$ fu pdf
$ fu find</pre>
<p>Hängt man an den Aufruf jedoch die Option <code>-a</code>, dann spuckt fu sämtliche zum Suchparameter passenden Ergebnisse aus. Alternativ lassen sich auch mit <code>-n x</code> die ersten x Suchtreffer ausgeben.</p>
<pre>$ fu -a tar
$ fu -n 5 tar</pre>
<p>Will man ein bisschen mehr über eines der Beispiele wissen, dann könnt ihr euch mit der Option &#8222;-v&#8220; neben der Anzahl der Upvotes auch die URL zum Beispiel auf commandlinefu.com ausgeben lassen.</p>
<pre>$ fu -v tar</pre>
<p>So nun ab ins Terminal und löst eure Problemchen mit ein bisschen &#8222;Command Line Magic&#8220;. Aber passt auf, dass ihr nicht zu lange bastelt, sonst vertändelt ihr euch und ihr verpasst die eigentlich wichtigen Sachen im Leben <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;"></p>
<figure id="attachment_23131" aria-describedby="caption-attachment-23131" style="width: 640px" class="wp-caption aligncenter"><a href="https://linuxundich.de/wp-content/uploads/2014/03/command_line_fu.png"><img loading="lazy" decoding="async" class="td-modal-image wp-image-23131 size-medium" src="https://linuxundich.de/wp-content/uploads/2014/03/command_line_fu-640x201.png" alt="Command Line Fu, xkcd.com" width="640" height="201" srcset="https://linuxundich.de/wp-content/uploads/2014/03/command_line_fu-640x201.png 640w, https://linuxundich.de/wp-content/uploads/2014/03/command_line_fu-681x214.png 681w, https://linuxundich.de/wp-content/uploads/2014/03/command_line_fu-250x78.png 250w, https://linuxundich.de/wp-content/uploads/2014/03/command_line_fu-550x172.png 550w, https://linuxundich.de/wp-content/uploads/2014/03/command_line_fu-574x180.png 574w, https://linuxundich.de/wp-content/uploads/2014/03/command_line_fu.png 740w" sizes="auto, (max-width: 640px) 100vw, 640px"></a><figcaption id="caption-attachment-23131" class="wp-caption-text"><a href="http://xkcd.com/196/" target="_blank" rel="noopener">Command Line Fu, xkcd.com</a>, <a href="http://creativecommons.org/licenses/by-nc/2.5/" target="_blank" rel="noopener">CC BY-NC 2.5</a></figcaption></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://linuxundich.de/gnu-linux/bropages-und-commandlinefu-com-liefern-beispiele-zu-terminalbefehlen-auch-aus-dem-terminal-heraus/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
