<?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>HandsomePlanet &#187; linux</title>
	<atom:link href="http://www.handsomeplanet.com/archives/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.handsomeplanet.com</link>
	<description>technology and other perplexities</description>
	<lastBuildDate>Mon, 19 Sep 2011 16:22:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>send man page to text file</title>
		<link>http://www.handsomeplanet.com/archives/230</link>
		<comments>http://www.handsomeplanet.com/archives/230#comments</comments>
		<pubDate>Mon, 19 Sep 2011 16:22:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.handsomeplanet.com/?p=230</guid>
		<description><![CDATA[Printing a manpage to a text file (perhaps more portable for cross-platform or bedtime reading): generic Unix/Linux, using `col`: man rcs &#124; col -b > /tmp/man_rcs.txt These alternatives would require that you reset PAGER or MANPAGER: alternative BSD : export MANPAGER=cat man pf.conf > man_pf.conf.txt alternative BSD : export PAGER=cat man pf.conf > man_pf.conf.txt Ubuntu, [...]]]></description>
			<content:encoded><![CDATA[<p>Printing a manpage to a text file (perhaps more portable for cross-platform or bedtime reading):</p>
<p>generic Unix/Linux, using `col`:<br />
<code>man rcs | col -b > /tmp/man_rcs.txt</code></p>
<p>These alternatives would require that you reset PAGER or MANPAGER:<br />
alternative BSD :<br />
<code>export MANPAGER=cat</code><br />
<code>man pf.conf > man_pf.conf.txt</code></p>
<p>alternative BSD :<br />
<code>export PAGER=cat</code><br />
<code>man pf.conf > man_pf.conf.txt</code></p>
<p>Ubuntu, Debian, Mint, etc. allow all of these alternatives:</p>
<p><code>       -P pager, --pager=pager<br />
              Specify  which  output  pager to use.  By default, man uses pager -s.  This option overrides the $MANPAGER environment variable, which in turn overrides  the  $PAGER environment variable.  It is not used in conjunction with -f or -k.</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.handsomeplanet.com/archives/230/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pink noise</title>
		<link>http://www.handsomeplanet.com/archives/37</link>
		<comments>http://www.handsomeplanet.com/archives/37#comments</comments>
		<pubDate>Mon, 01 Aug 2011 17:17:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[noise]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.handsomeplanet.com/?p=37</guid>
		<description><![CDATA[Pink noise can be used to mask distracting sounds in the environment around you. It can be useful for providing a neutral sonic background for concentration. The program speaker-test comes in the alsa-utils package, and provides pink noise by default. This is described by its man page as &#8220;perceptually uniform noise&#8221;. There are a number [...]]]></description>
			<content:encoded><![CDATA[<p>Pink noise can be used to mask distracting sounds in the environment around you.   It can be useful for providing a neutral sonic background for concentration. </p>
<p>The program <em>speaker-test</em> comes in the alsa-utils package, and provides pink noise by default.   This is described by its man page as &#8220;perceptually uniform noise&#8221;.  There are a number of other options, but for a quick noise generator, speaker-test is very handy. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.handsomeplanet.com/archives/37/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Command line fun for linux : included utilities</title>
		<link>http://www.handsomeplanet.com/archives/226</link>
		<comments>http://www.handsomeplanet.com/archives/226#comments</comments>
		<pubDate>Thu, 13 Jan 2011 20:58:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.handsomeplanet.com/?p=226</guid>
		<description><![CDATA[obelix@entity:~$ info util-linux-ng]]></description>
			<content:encoded><![CDATA[<p><code> obelix@entity:~$ info util-linux-ng </code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.handsomeplanet.com/archives/226/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s my ubuntu (or debian) version?</title>
		<link>http://www.handsomeplanet.com/archives/219</link>
		<comments>http://www.handsomeplanet.com/archives/219#comments</comments>
		<pubDate>Tue, 05 Oct 2010 19:41:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.handsomeplanet.com/?p=219</guid>
		<description><![CDATA[I have a  number of machines running various OS releases. Sometimes I need to check what flavor or relase I&#8217;m running on the current machine. While uname -a will show the Linux kernel version, there are a few ways to get more information. Here are three possibilities: cat /etc/issue cat /etc/lsb-release and my favorite: lsb_release [...]]]></description>
			<content:encoded><![CDATA[<p>I have a  number of machines running various OS releases.   Sometimes I need to check what flavor or relase I&#8217;m running on the current machine.<br />
While <code>uname -a</code> will show the Linux kernel version, there are a few ways to get more information.<br />
Here are three possibilities:<br />
<code>cat /etc/issue<br />
cat /etc/lsb-release</code><br />
and my favorite:<br />
<code>lsb_release -a</code></p>
<p>Here&#8217;s some sample output from lsb_release:<br />
<code>$ lsb_release -a<br />
LSB Version:	core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch<br />
Distributor ID:	Ubuntu<br />
Description:	Ubuntu 10.04.1 LTS<br />
Release:	10.04<br />
Codename:	lucid</code></p>
<p>The &#8220;lsb&#8221; in these commands refers to the Linux Standard Base.  For more information, see the <a title="The Linux Foundation" href="http://www.linuxfoundation.org/" target="_blank">Linux Foundation</a> .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.handsomeplanet.com/archives/219/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>installing the development version of the sphinx documentation tool</title>
		<link>http://www.handsomeplanet.com/archives/178</link>
		<comments>http://www.handsomeplanet.com/archives/178#comments</comments>
		<pubDate>Mon, 12 Jul 2010 15:58:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.handsomeplanet.com/?p=178</guid>
		<description><![CDATA[Get the latest version from bitbucket: $ hg clone http://bitbucket.org/birkenfeld/sphinx The remainder of the instructions are based on the README, but details will vary according to what package dependencies need to be met. That is, some additional packages beyond what is described here may need to be installed. Change to the new directory, build, and [...]]]></description>
			<content:encoded><![CDATA[<p>Get the latest version from bitbucket:<br />
<code><br />
$ hg clone http://bitbucket.org/birkenfeld/sphinx<br />
</code><br />
The remainder of the instructions are based on the README, but details will vary according to what package dependencies need to be met.   That is, some additional packages beyond what is described here may need to be installed.<br />
Change to the new directory, build, and install.<br />
<code><br />
cd sphinx<br />
python setup.py build<br />
sudo python setup.py install<br />
</code><br />
Build sphinx&#8217;s documentation with sphinx:<br />
<code><br />
cd doc<br />
sphinx-build . _build/html<br />
</code><br />
And, that should do it.</p>
<p>Also see the bitbucket sphinx <a href="http://bitbucket.org/birkenfeld/sphinx/wiki/Home">wiki</a> .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.handsomeplanet.com/archives/178/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>installing ntop on Ubuntu : problem with rrd directories</title>
		<link>http://www.handsomeplanet.com/archives/175</link>
		<comments>http://www.handsomeplanet.com/archives/175#comments</comments>
		<pubDate>Wed, 16 Jun 2010 18:40:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[ntop]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.handsomeplanet.com/?p=175</guid>
		<description><![CDATA[The ubuntu install for ntop is broken without some additional steps. &#8216;Ubuntu Bloke&#8217; had the easy fix : "Create the directories that for some reason are not created by the installer sudo mkdir /var/lib/ntop/rrd sudo mkdir /var/lib/ntop/rrd/graphics sudo mkdir /var/lib/ntop/rrd/flows sudo mkdir /var/lib/ntop/rrd/interfaces sudo mkdir /var/lib/ntop/rrd/interfaces/eth0 sudo mkdir /var/lib/ntop/rrd/interfaces/ppp0 sudo chmod -R 775 /var/lib/ntop"]]></description>
			<content:encoded><![CDATA[<p>The ubuntu install for ntop is broken without some additional steps.</p>
<p>&#8216;Ubuntu Bloke&#8217; had <a title="http://tuxnetworks.blogspot.com/2010/04/network-monitoring-with-ntop.html " href="http://tuxnetworks.blogspot.com/2010/04/network-monitoring-with-ntop.html" target="_blank">the easy fix</a> :</p>
<p><code>"Create the directories that for some reason are not created by the installer<br />
sudo mkdir /var/lib/ntop/rrd<br />
sudo mkdir /var/lib/ntop/rrd/graphics<br />
sudo mkdir /var/lib/ntop/rrd/flows<br />
sudo mkdir /var/lib/ntop/rrd/interfaces<br />
sudo mkdir /var/lib/ntop/rrd/interfaces/eth0<br />
sudo mkdir /var/lib/ntop/rrd/interfaces/ppp0<br />
sudo chmod -R 775 /var/lib/ntop"</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.handsomeplanet.com/archives/175/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>converting a pdf into html (one file to many method)</title>
		<link>http://www.handsomeplanet.com/archives/124</link>
		<comments>http://www.handsomeplanet.com/archives/124#comments</comments>
		<pubDate>Mon, 15 Feb 2010 20:51:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.handsomeplanet.com/?p=124</guid>
		<description><![CDATA[Here&#8217;s an Ubuntu (and other linux/Unix?) tip taken from ehow . To convert a pdf into navigable html (with images intact), you can use pdftohtml: E.g.,  pdftohtml -c originalfile.pdf newname_template.html Converting a book-length pdf using this method gave me a directory full of files, with consecutively numbered html files representing the pages.   Names were [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s an Ubuntu (and other linux/Unix?) tip taken from <a title="ehow.com" href="http://www.ehow.com/how_5824340_convert-pdf-html-ubuntu.html " target="_blank">ehow</a> .</p>
<p>To convert a pdf into navigable html (with images intact), you can use pdftohtml:</p>
<p>E.g.,</p>
<pre> pdftohtml -c originalfile.pdf  newname_template.html</pre>
<p>Converting a book-length pdf using this method gave me a directory full of files, with consecutively numbered html files representing the pages.   Names were based on the &#8216;newname_template&#8217; supplied, as were the png image files.  Not the prettiest, but functional, and viewable on devices lacking native pdf-rendering capabilities.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.handsomeplanet.com/archives/124/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux/Unix tools for multiline grep</title>
		<link>http://www.handsomeplanet.com/archives/116</link>
		<comments>http://www.handsomeplanet.com/archives/116#comments</comments>
		<pubDate>Wed, 02 Dec 2009 17:16:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.handsomeplanet.com/?p=116</guid>
		<description><![CDATA[grep -A 2 SearchString # find and return SearchString and the two lines after the line that matches grep -B 3 SearchString # find and return SearchString and the three lines before the line that matches also, pcregrep pcregrep -M &#8216;a\nb&#8217; files&#8230;]]></description>
			<content:encoded><![CDATA[<p> grep -A 2 SearchString <file.txt>  # find and return SearchString and the two lines after the line that matches<br />
 grep -B 3 SearchString <file.txt>  # find and return SearchString and the three lines before the line that matches</p>
<p>also,<br />
pcregrep<br />
    pcregrep -M &#8216;a\nb&#8217; files&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.handsomeplanet.com/archives/116/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is there a difference between &#8220;apt-get purge&#8221; vs. &#8220;apt-get remove &#8211;purge&#8221; ?</title>
		<link>http://www.handsomeplanet.com/archives/95</link>
		<comments>http://www.handsomeplanet.com/archives/95#comments</comments>
		<pubDate>Tue, 21 Jul 2009 15:40:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[package management]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.handsomeplanet.com/?p=95</guid>
		<description><![CDATA[I was wondering this myself, as the two seemed to do the same thing. Google helpfully turned up a thread from ubuntu-users (Jan. &#8217;09). This post sums it up well (and accurately, I believe): &#62;Derek B. writes: &#62;&#62;Tommy T. wrote: &#62;&#62;&#62; On Fri, Jan 23 [...] Pierre F. wrote: &#62;&#62;&#62; hi, &#62;&#62;&#62; Is there any [...]]]></description>
			<content:encoded><![CDATA[<p>I was wondering this myself, as the two seemed to do the same thing.  Google helpfully turned up a thread from ubuntu-users (Jan. &#8217;09).</p>
<p><a href="https://lists.ubuntu.com/archives/ubuntu-users/2009-January/172480.html">This post</a> sums it up well (and accurately, I believe):</p>
<address><strong>&gt;Derek B. writes:</strong></address>
<address><span style="color: #808080;"> &gt;&gt;Tommy T. wrote:</span></address>
<address><strong> &gt;&gt;&gt; On Fri, Jan 23 [...] Pierre F. wrote:</strong></address>
<p><strong>&gt;&gt;&gt; hi,<br />
&gt;&gt;&gt; Is there any subtle difference between the 2 syntaxes?<br />
&gt;&gt;&gt; (I couldn&#8217;t find the answer in any documentation)</strong><br />
&gt;&gt;<br />
<span style="color: #808080;">&gt;&gt; Don&#8217;t they do different things?</span><br />
<strong>&gt;<br />
&gt;No.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.handsomeplanet.com/archives/95/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

