<?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>burchill.net &#187; Unix</title>
	<atom:link href="http://burchill.net/category/geekgeneral/unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://burchill.net</link>
	<description>Phil Burchill's Blog</description>
	<lastBuildDate>Wed, 03 Feb 2010 18:15:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Dumb Terminal Bells</title>
		<link>http://burchill.net/2010/02/03/dumb-terminal-bells/</link>
		<comments>http://burchill.net/2010/02/03/dumb-terminal-bells/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 18:15:12 +0000</pubDate>
		<dc:creator>Phil Burchill</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Geekgeneral]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://burchill.net/?p=67</guid>
		<description><![CDATA[I have been plagued for years by my terminal beeping thumping and generally anoying me when I do something wrong.  It&#8217;s actually quite easy to fix though.  Just add this one liner to ~/.inputrc and no more beeping:
set bell-style visible
]]></description>
			<content:encoded><![CDATA[<p>I have been plagued for years by my terminal beeping thumping and generally anoying me when I do something wrong.  It&#8217;s actually quite easy to fix though.  Just add this one liner to ~/.inputrc and no more beeping:</p>
<p><code>set bell-style visible</code></p>
]]></content:encoded>
			<wfw:commentRss>http://burchill.net/2010/02/03/dumb-terminal-bells/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Non US Keyboards used with Cygwin</title>
		<link>http://burchill.net/2009/12/22/non-us-keyboards-used-with-cygwin/</link>
		<comments>http://burchill.net/2009/12/22/non-us-keyboards-used-with-cygwin/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 11:04:45 +0000</pubDate>
		<dc:creator>Phil Burchill</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Geekgeneral]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://burchill.net/?p=33</guid>
		<description><![CDATA[If you have a keyboard that is non US when you type you find different characters appearing to what are marked on the keys. The solution to this is fairly trivial run xmodmap with the appropriate xmodmap file. The problem is you don&#8217;t have the file. They are all here as a compressed tar file [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a keyboard that is non US when you type you find different characters appearing to what are marked on the keys. The solution to this is fairly trivial run xmodmap with the appropriate xmodmap file. The problem is you don&#8217;t have the file. They are all <a href="http://burchill.net/downloads/xmodmap.tgz">here</a> as a compressed tar file or you can browse them <a href="http://burchill.net/xmodmap/">here</a>. I added a line to my .bashrc file xmodmap xmodmap.uk and that worked nicely.</p>
]]></content:encoded>
			<wfw:commentRss>http://burchill.net/2009/12/22/non-us-keyboards-used-with-cygwin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reowning Ubuntu</title>
		<link>http://burchill.net/2007/08/15/reowning-ubuntu/</link>
		<comments>http://burchill.net/2007/08/15/reowning-ubuntu/#comments</comments>
		<pubDate>Wed, 15 Aug 2007 16:29:23 +0000</pubDate>
		<dc:creator>Phil Burchill</dc:creator>
				<category><![CDATA[Gnu]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[reown]]></category>

		<guid isPermaLink="false">http://burchill.net/2007/08/15/reowning-ubuntu/</guid>
		<description><![CDATA[NFS is a pain because you need to have the same UIDs on different systems. It seemed easiest to change my UID on my Ubuntu box.
usermod -u 1234 phil
Simple enough and it even chowned the files in my home directory.  But I still have files everywhere which have my old uid. Iâ€™d like to [...]]]></description>
			<content:encoded><![CDATA[<p><a title="NFS" href="http://en.wikipedia.org/wiki/Network_File_System_(protocol)">NFS</a> is a pain because you need to have the same <a title="UID" href="http://en.wikipedia.org/wiki/Uid">UID</a>s on different systems. It seemed easiest to change my UID on my Ubuntu box.</p>
<p><strong>usermod -u 1234 phil</strong></p>
<p>Simple enough and it even chowned the files in my home directory.  But I still have files everywhere which have my old uid. Iâ€™d like to find and own them, seems like a pain, could take ages? Easy with GNU find:</p>
<p><strong>sudo find / -uid 1000 -exec chown phil \{\} \;</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://burchill.net/2007/08/15/reowning-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shutting down Windows</title>
		<link>http://burchill.net/2007/05/01/shutting-down-windows/</link>
		<comments>http://burchill.net/2007/05/01/shutting-down-windows/#comments</comments>
		<pubDate>Tue, 01 May 2007 17:10:19 +0000</pubDate>
		<dc:creator>Phil Burchill</dc:creator>
				<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[children]]></category>

		<guid isPermaLink="false">http://burchill.net/2007/05/01/shutting-down-windows/</guid>
		<description><![CDATA[My kids like to play games on my personal laptop which happens to have WinXP Home on it.  Of course they don&#8217;t like to get off it when it&#8217;s time for dinner, bed, bathing, school, &#8230; Going in there and making them shut it down can be a challenge.
So the solution a mash-up Apache [...]]]></description>
			<content:encoded><![CDATA[<p>My kids like to play games on my personal laptop which happens to have WinXP Home on it.  Of course they don&#8217;t like to get off it when it&#8217;s time for dinner, bed, bathing, school, &#8230; Going in there and making them shut it down can be a challenge.</p>
<p>So the solution a mash-up Apache and psshutdown now <a title="Sysinternals" href="http://www.microsoft.com/technet/sysinternals/default.mspx">available</a> from Microsoft.  My apache was installed through <a title="Cygwin" href="http://www.cygwin.com">cygwin</a> so I have all the shell powers available for my cgi scripts.<br />
Just make  some cgi scripts and off we go.</p>
<p>You will need to make a dummy script to accept the licence using the /accepteula switch which needs to be run once or the scripts will just all fail.</p>
<p>I added the sysinternals tools to my system environment path so they will get picked up without addng the path.</p>
<p>Then the following script is dropped into</p>
<p>/srv/www/cgi-bin/shutdown</p>
<p>#!/bin/sh</p>
<p># disable filename globbing<br />
set -f</p>
<p>echo &#8220;Content-type: text/plain; charset=iso-8859-1&#8243;<br />
echo<br />
echo Force shutdown of computer<br />
echo</p>
<p>psshutdown -kf</p>
<p>I also set up a static IP address for the laptop.</p>
<p>Now I just put a bookmark in my browser http://192.168.1.199/cgi-bin/shutdown and clicking on this shuts that laptop down without any arguments.</p>
<p>I have Wi-Fi capable mobile phone so put the bookmark in there and I can easily shut it down from  there too, which is really handy as I&#8217;m not always in front of a computer screen.</p>
]]></content:encoded>
			<wfw:commentRss>http://burchill.net/2007/05/01/shutting-down-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Start</title>
		<link>http://burchill.net/2007/02/02/start/</link>
		<comments>http://burchill.net/2007/02/02/start/#comments</comments>
		<pubDate>Fri, 02 Feb 2007 21:20:17 +0000</pubDate>
		<dc:creator>Phil Burchill</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://burchill.net/2007/02/02/start/</guid>
		<description><![CDATA[I like to use a command line interface whenever possible.  Sometimes though a windowed application is required.  In MS Windows you use the start command to bring up the default app, (don&#8217;t use this much).  In Cygwin I use the cygstart command.
So I was using my Ubuntu system and wanted to do [...]]]></description>
			<content:encoded><![CDATA[<p>I like to use a <a href="http://en.wikipedia.org/wiki/Command_line_interface">command line interface</a> whenever possible.  Sometimes though a windowed application is required.  In MS Windows you use the <strong>start</strong> command to bring up the default app, (don&#8217;t use this much).  In <a href="http://www.cygwin.com/">Cygwin</a> I use the <strong>cygstart</strong> command.</p>
<p>So I was using my <a href="http://www.ubuntu.com/">Ubuntu</a> system and wanted to do something similar.  The command it turns out is <a href="http://ubuntu.wordpress.com/2006/12/16/gnome-open-open-anything-from-the-command-line/">gnome-open</a>.  Bit of a mouthful so I have this aliased in my .bashrc file to <strong>cs</strong> for either <strong>cygstart</strong> or <strong>gnome-open</strong> which is much more snappy.</p>
]]></content:encoded>
			<wfw:commentRss>http://burchill.net/2007/02/02/start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pronethosting.net</title>
		<link>http://burchill.net/2006/12/31/pronethostingnet/</link>
		<comments>http://burchill.net/2006/12/31/pronethostingnet/#comments</comments>
		<pubDate>Sun, 31 Dec 2006 09:15:37 +0000</pubDate>
		<dc:creator>Phil Burchill</dc:creator>
				<category><![CDATA[Geekgeneral]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://burchill.net/2006/12/31/pronethostingnet/</guid>
		<description><![CDATA[Just renewed for another year with Pronethosting as my web/email/blog hosting provider.  
They have been absolutely rock solid in the last year.  I forget if I&#8217;ve been with them for three or four years now. 
The plan provides everything you might want.  
Here&#8217;s a snip from my plan details (linux 1)

 150 [...]]]></description>
			<content:encoded><![CDATA[<p>Just renewed for another year with <a href="http://www.pronethosting.net">Pronethosting</a> as my web/email/blog hosting provider.  </p>
<p>They have been absolutely rock solid in the last year.  I forget if I&#8217;ve been with them for three or four years now. </p>
<p>The plan provides everything you might want.  </p>
<p>Here&#8217;s a snip from my plan details (linux 1)</p>
<blockquote><p>
 150 MB web space<br />
- 4000 MB transfer<br />
- unlimited email<br />
- webmail<br />
- unlimited MY SQL<br />
- PHP, Perl, SSH<br />
- cPanel control panel<br />
- Fantastico<br />
- online statistics
</p></blockquote>
<p>The fantastico feature is really cool you can do things like almost one click install of Wordpress <img src='http://burchill.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>SSH is really nice as you can get down and dirty if you want to change/fix something if you want.</p>
]]></content:encoded>
			<wfw:commentRss>http://burchill.net/2006/12/31/pronethostingnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ImageMagick</title>
		<link>http://burchill.net/2006/01/09/imagemagick/</link>
		<comments>http://burchill.net/2006/01/09/imagemagick/#comments</comments>
		<pubDate>Mon, 09 Jan 2006 22:53:02 +0000</pubDate>
		<dc:creator>Phil Burchill</dc:creator>
				<category><![CDATA[Geekgeneral]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://burchill.net/2006/01/09/imagemagick/</guid>
		<description><![CDATA[I had some jpeg images of a scanned document which I wanted to mail out to someone.&#160; The obvious way to do this is as a pdf rather than make them open a new image for each page.&#160; It turns out ImageMagick is rather good for this. My images are called pg01.jpg, pg02.jpg, and so [...]]]></description>
			<content:encoded><![CDATA[<p>I had some jpeg images of a scanned document which I wanted to mail out to someone.&nbsp; The obvious way to do this is as a pdf rather than make them open a new image for each page.&nbsp; It turns out <a href="http://www.imagemagick.org">ImageMagick</a> is rather good for this. My images are called pg01.jpg, pg02.jpg, and so on.&nbsp; Type at the bash prompt the following:</p>
<p><code>$ convert -page A4+0+0 pg*.jpg doc.pdf</code></p>
<p>And the result is a single pdf with all the images in order.  Ooops page 2 was upside down</p>
<p><code>$ convert -rotate180 pg2.jpg pg2a.jpg<br />
$ rm pg2.jpg</code></p>
<p>Convert again as above and all done.  </p>
<p>ImageMagick is available pretty much whatever you are running Windows, Cygwin, Mac, Linux, BSD, Solaris etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://burchill.net/2006/01/09/imagemagick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
