<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml"
>

<channel>
	<title>Open Source Computing and GIS in the UK &#187; linux</title>
	<atom:link href="http://www.archaeogeek.com/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.archaeogeek.com/blog</link>
	<description>Travels in a digital world</description>
	<lastBuildDate>Wed, 18 Jan 2012 16:49:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>A year of anniversaries and change</title>
		<link>http://www.archaeogeek.com/blog/2011/02/10/a-year-of-anniversaries-and-change/</link>
		<comments>http://www.archaeogeek.com/blog/2011/02/10/a-year-of-anniversaries-and-change/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 21:42:22 +0000</pubDate>
		<dc:creator>Archaeogeek</dc:creator>
				<category><![CDATA[Job]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[MapGuide Open Source]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[OSGEO]]></category>

		<guid isPermaLink="false">http://www.archaeogeek.com/blog/?p=513</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=A+year+of+anniversaries+and+change&amp;rft.aulast=Cook&amp;rft.aufirst=Jo&amp;rft.subject=Job&amp;rft.subject=Life&amp;rft.subject=linux&amp;rft.subject=MapGuide+Open+Source&amp;rft.subject=opensource&amp;rft.subject=OSGEO&amp;rft.source=Open+Source+Computing+and+GIS+in+the+UK&amp;rft.date=2011-02-10&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.archaeogeek.com/blog/2011/02/10/a-year-of-anniversaries-and-change/&amp;rft.language=English"></span>
So, it&#8217;s 5 years since OSGeo was formed- that&#8217;s pretty cool! Spurred on by this post, I thought I would say a little bit about my involvement with OSGeo, and also rather clumsily segue this into an announcement about my impending change of job. It&#8217;s true- after years of not really thinking of myself as [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=A+year+of+anniversaries+and+change&amp;rft.aulast=Cook&amp;rft.aufirst=Jo&amp;rft.subject=Job&amp;rft.subject=Life&amp;rft.subject=linux&amp;rft.subject=MapGuide+Open+Source&amp;rft.subject=opensource&amp;rft.subject=OSGEO&amp;rft.source=Open+Source+Computing+and+GIS+in+the+UK&amp;rft.date=2011-02-10&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.archaeogeek.com/blog/2011/02/10/a-year-of-anniversaries-and-change/&amp;rft.language=English"></span>
<abbr class="unapi-id" title="http://www.archaeogeek.com/blog/?p=513"><!-- &nbsp; --></abbr>
<p>So, it&#8217;s <a title="5 years of OSGeo" href="http://www.osgeo.org/tyler/2011/osgeo-5th-birthday-soon" target="_blank">5 years</a> since OSGeo was formed- that&#8217;s pretty cool! Spurred on by <a title="5 years of OSGeo" href="http://geomaticblog.net/2011/02/05/osgeo-anniversary-5-years-of-freedom/" target="_blank">this post</a>, I thought I would say a little bit about my involvement with OSGeo, and also rather clumsily segue this into an announcement about my impending change of job. It&#8217;s true- after years of not really thinking of myself as an archaeologist any longer, but rather &#8216;someone who works in an archaeological unit&#8221;, I&#8217;ve finally gone and got myself a real job. Anyhow, more on that later.</p>
<p>5 years ago, I was playing around with mapserver, because I wanted a way of serving data and some shiny web maps and we had no money to do it with. I sucked at it big time, with no programming experience, and barely any command line experience. My only linux knowledge consisted of messing around with a Sharp Zaurus (the best pda I&#8217;ve ever had), and I only really equated open source with &#8220;free as in beer&#8221;. I remember the excitement on the mapserver mailing list when OSGeo was announced, along with the open sourcing of MapGuide, and I also remember quite fancying the idea of a whole conference about this cool new stuff when FOSS4G was announced.</p>
<p>Since then, there have been so many lightbulb moments for me, such as getting the real &#8220;point&#8221; of open source, getting more involved with OSGeo via starting the UK chapter, breakthrough moments when I have really started to understand a particular program or language, getting over my fear of public speaking by talking about open source at conferences, teaching colleagues and strangers how to use this software, and getting consultancy jobs designing applications that use it.</p>
<p>Through that time, I&#8217;ve seen (heck, we&#8217;ve all seen) OSGeo go from strength to strength, and become a truly global organisation. More importantly though, it&#8217;s a great global community.</p>
<p>I should also say that my new job, as Web GIS Specialist/Lead Consultant at <a title="Astun" href="http://www.isharemaps.com/" target="_blank">Astun Technology</a>, could only have happened through the experience I&#8217;ve gained over the last five years, so thanks to everyone that&#8217;s helped with that. I&#8217;m sad to be leaving Oxford Archaeology, but massively looking forward to my new role, which I hope will allow me to keep up my involvement with OSGeo, and in particular the UK chapter.</p>
<p>Will I keep blogging? Yes, and hopefully more often as I learn lots of new and exciting stuff (new to me- I&#8217;m a recent very enthusiastic convert to Python-years after everyone else). Will I still be doing open source stuff? Hell, yes! Will I change the name of the blog? Pehaps&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.archaeogeek.com/blog/2011/02/10/a-year-of-anniversaries-and-change/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Sunday Tip Day: Convert a shapefile to text with linux</title>
		<link>http://www.archaeogeek.com/blog/2008/05/11/sunday-tip-day-convert-a-shapefile-to-text-with-linux/</link>
		<comments>http://www.archaeogeek.com/blog/2008/05/11/sunday-tip-day-convert-a-shapefile-to-text-with-linux/#comments</comments>
		<pubDate>Sun, 11 May 2008 19:51:10 +0000</pubDate>
		<dc:creator>Archaeogeek</dc:creator>
				<category><![CDATA[GIS]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://www.archaeogeek.com/blog/?p=136</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Sunday+Tip+Day%3A+Convert+a+shapefile+to+text+with+linux&amp;rft.aulast=Cook&amp;rft.aufirst=Jo&amp;rft.subject=GIS&amp;rft.subject=linux&amp;rft.subject=Tip&amp;rft.source=Open+Source+Computing+and+GIS+in+the+UK&amp;rft.date=2008-05-11&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.archaeogeek.com/blog/2008/05/11/sunday-tip-day-convert-a-shapefile-to-text-with-linux/&amp;rft.language=English"></span>
Never apologise for delayed posts&#8230; this is a Sunday Tip Day post, not a Thursday! Anyhow&#8230; I just found a super little cross-platform utility that takes shapefiles and dumps them to a variety of text-based formats. Download it here, and simply unzip it to use it. There isn&#8217;t much documentation, but basically your options are [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Sunday+Tip+Day%3A+Convert+a+shapefile+to+text+with+linux&amp;rft.aulast=Cook&amp;rft.aufirst=Jo&amp;rft.subject=GIS&amp;rft.subject=linux&amp;rft.subject=Tip&amp;rft.source=Open+Source+Computing+and+GIS+in+the+UK&amp;rft.date=2008-05-11&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.archaeogeek.com/blog/2008/05/11/sunday-tip-day-convert-a-shapefile-to-text-with-linux/&amp;rft.language=English"></span>
<abbr class="unapi-id" title="http://www.archaeogeek.com/blog/?p=136"><!-- &nbsp; --></abbr>
<p>Never apologise for delayed posts&#8230; this is a Sunday Tip Day post, not a Thursday! Anyhow&#8230;</p>
<p>I just found a super little cross-platform utility that takes shapefiles and dumps them to a variety of text-based formats. Download it <a title="shp2text" href="http://www.obviously.com/gis/shp2text/" target="_blank">here</a>, and simply unzip it to use it.</p>
<p>There isn&#8217;t much documentation, but basically your options are to download to gpx or spreadsheet. The following gives you a simple delimited text file with the coordinates and values from your attribute table:</p>
<p>./shp2text 	-–spreadsheet /path/to/your/shapefile.shp &gt; /path/to/output.txt</p>
<p>Bob is indeed your mother&#8217;s brother.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.archaeogeek.com/blog/2008/05/11/sunday-tip-day-convert-a-shapefile-to-text-with-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Slightly belated Thursday Tip Day: Find and replace text in multiple files</title>
		<link>http://www.archaeogeek.com/blog/2008/04/11/slightly-belated-thursday-tip-day-find-and-replace-text-in-multiple-files/</link>
		<comments>http://www.archaeogeek.com/blog/2008/04/11/slightly-belated-thursday-tip-day-find-and-replace-text-in-multiple-files/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 15:36:15 +0000</pubDate>
		<dc:creator>Archaeogeek</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://www.archaeogeek.com/blog/?p=132</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Slightly+belated+Thursday+Tip+Day%3A+Find+and+replace+text+in+multiple+files&amp;rft.aulast=Cook&amp;rft.aufirst=Jo&amp;rft.subject=linux&amp;rft.subject=Tip&amp;rft.source=Open+Source+Computing+and+GIS+in+the+UK&amp;rft.date=2008-04-11&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.archaeogeek.com/blog/2008/04/11/slightly-belated-thursday-tip-day-find-and-replace-text-in-multiple-files/&amp;rft.language=English"></span>
Apologies for the delay- it&#8217;s been a roller-coaster week at Archaeogeek Towers due to family health issues. Hopefully it&#8217;s getting sorted now though. In the process of preparing Portable GIS, I needed to change a string in multiple files of multiple formats within multiple folders. I looked at various windows- based options, most of which [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Slightly+belated+Thursday+Tip+Day%3A+Find+and+replace+text+in+multiple+files&amp;rft.aulast=Cook&amp;rft.aufirst=Jo&amp;rft.subject=linux&amp;rft.subject=Tip&amp;rft.source=Open+Source+Computing+and+GIS+in+the+UK&amp;rft.date=2008-04-11&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.archaeogeek.com/blog/2008/04/11/slightly-belated-thursday-tip-day-find-and-replace-text-in-multiple-files/&amp;rft.language=English"></span>
<abbr class="unapi-id" title="http://www.archaeogeek.com/blog/?p=132"><!-- &nbsp; --></abbr>
<p>Apologies for the delay- it&#8217;s been a roller-coaster week at Archaeogeek Towers due to family health issues. Hopefully it&#8217;s getting sorted now though.</p>
<p>In the process of preparing Portable GIS, I needed to change a string in multiple files of multiple formats within multiple folders. I looked at various windows- based options, most of which had a charge associated with them, but one of my colleagues suggested a linux approach.</p>
<p>&#8220;Sed&#8221; is the command that you need, found in most linux systems. In windows you can install it as part of the <a title="unxutils" href="http://unxutils.sourceforge.net/" target="_blank">unxutils</a> toolkit. The following command in linux works recursively through the folders in a root directory changing string1 for string2 (be careful with those single quotes if copy and pasting as wordpress likes to restyle them):</p>
<p>find ./ -type f -exec sed -i ’s/string1/string2/’ {} \;</p>
<p>With a large number of files this might take some time to work (a usb stick took an hour to work through on my ubuntu server vm but maybe that&#8217;s not a fair benchmark).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.archaeogeek.com/blog/2008/04/11/slightly-belated-thursday-tip-day-find-and-replace-text-in-multiple-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thursday Tip Day: On USB keys at the linux command line</title>
		<link>http://www.archaeogeek.com/blog/2008/04/04/thursday-tip-day-on-usb-keys-at-the-linux-command-line/</link>
		<comments>http://www.archaeogeek.com/blog/2008/04/04/thursday-tip-day-on-usb-keys-at-the-linux-command-line/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 12:06:47 +0000</pubDate>
		<dc:creator>Archaeogeek</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://www.archaeogeek.com/blog/?p=130</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Thursday+Tip+Day%3A+On+USB+keys+at+the+linux+command+line&amp;rft.aulast=Cook&amp;rft.aufirst=Jo&amp;rft.subject=linux&amp;rft.subject=Tip&amp;rft.source=Open+Source+Computing+and+GIS+in+the+UK&amp;rft.date=2008-04-04&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.archaeogeek.com/blog/2008/04/04/thursday-tip-day-on-usb-keys-at-the-linux-command-line/&amp;rft.language=English"></span>
How to mount a USB stick in Ubuntu server using the command prompt only: Do a sudo tail -f /var/log/syslog and plug the usb drive in. Look for lines like these: Feb 18 12:58:32 shuchi kernel: [17192272.616000] sda: assuming drive cache: write through Feb 18 12:58:32 shuchi kernel: [17192272.616000] sda: sda1 Make a directory in [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Thursday+Tip+Day%3A+On+USB+keys+at+the+linux+command+line&amp;rft.aulast=Cook&amp;rft.aufirst=Jo&amp;rft.subject=linux&amp;rft.subject=Tip&amp;rft.source=Open+Source+Computing+and+GIS+in+the+UK&amp;rft.date=2008-04-04&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.archaeogeek.com/blog/2008/04/04/thursday-tip-day-on-usb-keys-at-the-linux-command-line/&amp;rft.language=English"></span>
<abbr class="unapi-id" title="http://www.archaeogeek.com/blog/?p=130"><!-- &nbsp; --></abbr>
<p>How to mount a USB stick in Ubuntu server using the command prompt only:</p>
<p>Do a sudo tail -f /var/log/syslog and plug the usb drive in.<br />
Look for lines like these:<br />
Feb 18 12:58:32 shuchi kernel: [17192272.616000] sda: assuming drive cache: write through<br />
Feb 18 12:58:32 shuchi kernel: [17192272.616000] sda: sda1</p>
<p>Make a directory in /media named usbdrive.<br />
Mount it like this:  sudo mount /dev/sda1 /media/usbdrive</p>
<p>To unmount before ejecting:<br />
sudo umount /media/usbdrive</p>
<p>If you get a message saying that the device is busy you can find out what process is using it using with the fuser command, with the -u parameter to see which user it is:</p>
<p>fuser -u /media/usbdrive</p>
<p>This will give you a number which refers to a process, and a user, then run ps -A to list all the processes and see which one it is. If you need to kill that process (USE WITH CAUTION) then run:</p>
<p>sudo kill -9 yourprocessnumber</p>
<p>You should then be able to safely unmount your USB drive</p>
]]></content:encoded>
			<wfw:commentRss>http://www.archaeogeek.com/blog/2008/04/04/thursday-tip-day-on-usb-keys-at-the-linux-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Archaeogeek&#8217;s quick February round-up</title>
		<link>http://www.archaeogeek.com/blog/2008/02/27/archaeogeeks-quick-february-round-up/</link>
		<comments>http://www.archaeogeek.com/blog/2008/02/27/archaeogeeks-quick-february-round-up/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 17:07:13 +0000</pubDate>
		<dc:creator>Archaeogeek</dc:creator>
				<category><![CDATA[ArcGIS]]></category>
		<category><![CDATA[archaeology]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.archaeogeek.com/blog/2008/02/27/archaeogeeks-quick-february-round-up/</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Archaeogeek%26%238217%3Bs+quick+February+round-up&amp;rft.aulast=Cook&amp;rft.aufirst=Jo&amp;rft.subject=ArcGIS&amp;rft.subject=archaeology&amp;rft.subject=linux&amp;rft.source=Open+Source+Computing+and+GIS+in+the+UK&amp;rft.date=2008-02-27&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.archaeogeek.com/blog/2008/02/27/archaeogeeks-quick-february-round-up/&amp;rft.language=English"></span>
February&#8217;s quick links: Via my new colleague (Hi Ben), some tutorials for using QGIS and GRASS as opposed to (or in conjunction with) ArcGIS on an archaeological project Andlinux- a different way of accessing linux-based programmes without going through cygwin.  I&#8217;ve managed to get GRASS installed, though I haven&#8217;t tried it out in anger yet. [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Archaeogeek%26%238217%3Bs+quick+February+round-up&amp;rft.aulast=Cook&amp;rft.aufirst=Jo&amp;rft.subject=ArcGIS&amp;rft.subject=archaeology&amp;rft.subject=linux&amp;rft.source=Open+Source+Computing+and+GIS+in+the+UK&amp;rft.date=2008-02-27&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.archaeogeek.com/blog/2008/02/27/archaeogeeks-quick-february-round-up/&amp;rft.language=English"></span>
<abbr class="unapi-id" title="http://www.archaeogeek.com/blog/2008/02/27/archaeogeeks-quick-february-round-up/"><!-- &nbsp; --></abbr>
<p>February&#8217;s quick links:</p>
<ul>
<li>Via my new colleague (Hi Ben), <a href="http://www.tuarc.trentu.ca/~aspweb/en/downloads.shtml" title="QGIS and GRASS" target="_blank">some tutorials for using QGIS and GRASS as opposed to (or in conjunction with) ArcGIS on an archaeological project</a></li>
<li><a href="http://www.andlinux.org/" title="andlinux" target="_blank">Andlinux</a>- a different way of accessing linux-based programmes without going through cygwin.  I&#8217;ve managed to get GRASS installed, though I haven&#8217;t tried it out in anger yet.</li>
<li><a href="http://www.tuxfiles.org/linuxhelp/softinstall.html" title="Compiling linux progs" target="_blank">A n00bs guide to installing linux programmes from source</a>. Don&#8217;t be scared, it&#8217;s not that bad, though I&#8217;d add in how to get the command line to send it&#8217;s output to a log file for those times when it all goes wrong and you didn&#8217;t happen to catch the error as it scrolled past really fast&#8230;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.archaeogeek.com/blog/2008/02/27/archaeogeeks-quick-february-round-up/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Thursday Tip Day: Different ways to get help at the linux command line</title>
		<link>http://www.archaeogeek.com/blog/2007/12/20/thursday-tip-day-different-ways-to-get-help-at-the-linux-command-line/</link>
		<comments>http://www.archaeogeek.com/blog/2007/12/20/thursday-tip-day-different-ways-to-get-help-at-the-linux-command-line/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 17:21:16 +0000</pubDate>
		<dc:creator>Archaeogeek</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://www.archaeogeek.com/blog/2007/12/20/thursday-tip-day-different-ways-to-get-help-at-the-linux-command-line/</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Thursday+Tip+Day%3A+Different+ways+to+get+help+at+the+linux+command+line&amp;rft.aulast=Cook&amp;rft.aufirst=Jo&amp;rft.subject=linux&amp;rft.subject=Tip&amp;rft.source=Open+Source+Computing+and+GIS+in+the+UK&amp;rft.date=2007-12-20&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.archaeogeek.com/blog/2007/12/20/thursday-tip-day-different-ways-to-get-help-at-the-linux-command-line/&amp;rft.language=English"></span>
Man is not the only option for help about a command in linux. whatis — Display a summary of a command (rather than the entire manual) apropos — Display a list of commands that pertain to (are apropos to) a keyword whereis — Display information about the location of a command: the executable, the source [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Thursday+Tip+Day%3A+Different+ways+to+get+help+at+the+linux+command+line&amp;rft.aulast=Cook&amp;rft.aufirst=Jo&amp;rft.subject=linux&amp;rft.subject=Tip&amp;rft.source=Open+Source+Computing+and+GIS+in+the+UK&amp;rft.date=2007-12-20&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.archaeogeek.com/blog/2007/12/20/thursday-tip-day-different-ways-to-get-help-at-the-linux-command-line/&amp;rft.language=English"></span>
<abbr class="unapi-id" title="http://www.archaeogeek.com/blog/2007/12/20/thursday-tip-day-different-ways-to-get-help-at-the-linux-command-line/"><!-- &nbsp; --></abbr>
<p>Man is not the only option for help about a command in linux.<br />
whatis — Display a summary of a command (rather than the entire manual)<br />
apropos — Display a list of commands that pertain to (are apropos to) a keyword<br />
whereis — Display information about the location of a command: the executable, the source code (if any), and the man pages.<br />
which — Display which version of a command will execute (for when there are two, or more, commands with the same name installed on the system).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.archaeogeek.com/blog/2007/12/20/thursday-tip-day-different-ways-to-get-help-at-the-linux-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thursday Tip Day: Explaining the Unix filesystem</title>
		<link>http://www.archaeogeek.com/blog/2007/12/13/thursday-tip-day-explaining-the-unix-filesystem/</link>
		<comments>http://www.archaeogeek.com/blog/2007/12/13/thursday-tip-day-explaining-the-unix-filesystem/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 16:32:54 +0000</pubDate>
		<dc:creator>Archaeogeek</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.archaeogeek.com/blog/2007/12/13/thursday-tip-day-explaining-the-unix-filesystem/</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Thursday+Tip+Day%3A+Explaining+the+Unix+filesystem&amp;rft.aulast=Cook&amp;rft.aufirst=Jo&amp;rft.subject=linux&amp;rft.source=Open+Source+Computing+and+GIS+in+the+UK&amp;rft.date=2007-12-13&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.archaeogeek.com/blog/2007/12/13/thursday-tip-day-explaining-the-unix-filesystem/&amp;rft.language=English"></span>
For all linux/Unix n00bs out there, here&#8217;s a really good explanation of the layout of the Unix filesytem. What’s in a file name? The files on a UNIX machine are organized in a hierarchy. The very top of the hierarchy is / —commonly referred to as “slash” or “the root directory.” If you change your [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Thursday+Tip+Day%3A+Explaining+the+Unix+filesystem&amp;rft.aulast=Cook&amp;rft.aufirst=Jo&amp;rft.subject=linux&amp;rft.source=Open+Source+Computing+and+GIS+in+the+UK&amp;rft.date=2007-12-13&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.archaeogeek.com/blog/2007/12/13/thursday-tip-day-explaining-the-unix-filesystem/&amp;rft.language=English"></span>
<abbr class="unapi-id" title="http://www.archaeogeek.com/blog/2007/12/13/thursday-tip-day-explaining-the-unix-filesystem/"><!-- &nbsp; --></abbr>
<p> For all linux/Unix n00bs out there, <a href="http://www.ibm.com/developerworks/aix/library/au-speakingunix11/" title="Linux filesystem" target="_blank">here&#8217;s</a> a really good explanation of the layout of the Unix filesytem.</p>
<blockquote><p>What’s in a file name? The files on a UNIX machine are organized in a hierarchy. The very top of the hierarchy is / —commonly referred to as “slash” or “the root directory.” If you change your working directory to / and run ls, you’ll see several subdirectories with cryptic names like etc, bin, var, home, and tmp. Although UNIX now supports long file names, most of the monikers of these top-level directories hark back some 30 years to the origin of UNIX. Similarly, by the same long-standing conventions, each directory contained in / serves a special purpose:</p>
<ul>
<li>/bin is but one of many directories that contain applications and utilities. However, /bin typically contains utilities that are essential to system operation. Hence, the shells, file-manipulation commands such as cp and chmod, compression and decompression, and diagnostics reside in /bin.</li>
<li>/sbin also contains utilities crucial to system operation and maintenance. However, the programs found in /sbin can be executed only by superusers—hence, “superuser-bin” or /sbin. /dev incorporates all the hardware installed on your system, including terminals and USB devices (and other peripherals that are physically connected to the computer), pseudo-terminals (used to interact with X terminal windows), and hard disk drives, among others.</li>
<li> /etc (often pronounced “etsee”) is dedicated to system configuration. The /etc directory contains configuration files for the system daemons, startup scripts, system parameters, and more.</li>
<li>/home contains a user’s home directories. For instance, if your login name is joe, the directory /home/joe acts as your personal file repository.</li>
<li>/lib is the coffer for essential system libraries. In modern UNIX, system libraries are typically shared, meaning that the libraries are not linked and included in each binary (which would waste space, at the least), but are loaded on demand when needed and shared by many applications at once. Hence, core applications and utilities installed with UNIX require the libraries in /lib to run, and you need at least a small handful of the libraries to create new executables from source code. All files here are vital, and the corruption or removal (whether intentional or accidental) of even one file can render a system useless.</li>
<li>/mnt, short for “mount,” is the standard location to mount hard disk drive partitions and other devices. If you want to see which devices are currently mounted and accessible, simply run the mount command.</li>
<li>* /tmp, or “temporary,” is the system-wide scratch pad. Your Web server might stash session data files here, and other utilities use the space in /tmp for caching intermediate results. Files in /tmp are considered disposable. Indeed, your systems administrator probably deletes all files older than a certain expiry every evening.</li>
<li>/usr is the umbrella for a great number of files. End-user applications—from editors, games, and interfaces, to system features—are here, as is the library of man pages along with much more. Chances are that if the file is useful but not mandatory for system operation, you’ll find it in /usr.</li>
<li>/var —short for “variable”—is the repository for files that typically grow in size over time. Mailboxes, log files, printer queues, and databases can be found in /var. It’s commonplace also for Web sites to be kept in /var because a Web site tends to amass data preternaturally over time.</li>
</ul>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.archaeogeek.com/blog/2007/12/13/thursday-tip-day-explaining-the-unix-filesystem/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Thursday Tip Day: Linux script command</title>
		<link>http://www.archaeogeek.com/blog/2007/11/08/thursday-tip-day-linux-script-command/</link>
		<comments>http://www.archaeogeek.com/blog/2007/11/08/thursday-tip-day-linux-script-command/#comments</comments>
		<pubDate>Thu, 08 Nov 2007 10:23:27 +0000</pubDate>
		<dc:creator>Archaeogeek</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://www.archaeogeek.com/blog/2007/11/08/thursday-tip-day-linux-script-command/</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Thursday+Tip+Day%3A+Linux+script+command&amp;rft.aulast=Cook&amp;rft.aufirst=Jo&amp;rft.subject=linux&amp;rft.subject=Tip&amp;rft.source=Open+Source+Computing+and+GIS+in+the+UK&amp;rft.date=2007-11-08&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.archaeogeek.com/blog/2007/11/08/thursday-tip-day-linux-script-command/&amp;rft.language=English"></span>
For all you linux n00bs out there just getting into compiling and installing programmes, this is really handy when your compilation fails and you&#8217;ve just watched reams of text scroll past with no chance to read what it says.  Basically it records the I/O of a command line session into a log file for later [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Thursday+Tip+Day%3A+Linux+script+command&amp;rft.aulast=Cook&amp;rft.aufirst=Jo&amp;rft.subject=linux&amp;rft.subject=Tip&amp;rft.source=Open+Source+Computing+and+GIS+in+the+UK&amp;rft.date=2007-11-08&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.archaeogeek.com/blog/2007/11/08/thursday-tip-day-linux-script-command/&amp;rft.language=English"></span>
<abbr class="unapi-id" title="http://www.archaeogeek.com/blog/2007/11/08/thursday-tip-day-linux-script-command/"><!-- &nbsp; --></abbr>
<p>For all you linux n00bs out there just getting into compiling and installing programmes, this is really handy when your compilation fails and you&#8217;ve just watched reams of text scroll past with no chance to read what it says.  Basically it records the I/O of a command line session into a log file for later perusal.</p>
<p>Before entering your command in the terminal, type:</p>
<blockquote><p> script yourscript.log</p></blockquote>
<p>At the end of the session, press:</p>
<blockquote><p>ctrl-d</p></blockquote>
<p>To dump the output to the above-named file. Then you can read it with nano or the text editor of your choice.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.archaeogeek.com/blog/2007/11/08/thursday-tip-day-linux-script-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

