<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://stab.st-andrews.ac.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Hdi2u_S13</id>
		<title>Hdi2u S13 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://stab.st-andrews.ac.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Hdi2u_S13"/>
		<link rel="alternate" type="text/html" href="http://stab.st-andrews.ac.uk/wiki/index.php?title=Hdi2u_S13&amp;action=history"/>
		<updated>2026-04-25T10:54:57Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://stab.st-andrews.ac.uk/wiki/index.php?title=Hdi2u_S13&amp;diff=1402&amp;oldid=prev</id>
		<title>Rf: Created page with &quot;= Reading text files =  * These are useful when you want to look at the contents of a file, but not edit it. * Among the most common of these commands are &lt;code&gt;cat&lt;/code&gt;, &lt;c...&quot;</title>
		<link rel="alternate" type="text/html" href="http://stab.st-andrews.ac.uk/wiki/index.php?title=Hdi2u_S13&amp;diff=1402&amp;oldid=prev"/>
				<updated>2017-04-19T22:34:45Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Reading text files =  * These are useful when you want to look at the contents of a file, but not edit it. * Among the most common of these commands are &amp;lt;code&amp;gt;cat&amp;lt;/code&amp;gt;, &amp;lt;c...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Reading text files =&lt;br /&gt;
&lt;br /&gt;
* These are useful when you want to look at the contents of a file, but not edit it.&lt;br /&gt;
* Among the most common of these commands are &amp;lt;code&amp;gt;cat&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;more&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;less&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cat&amp;lt;/code&amp;gt; simply prints out one or several files out.&lt;br /&gt;
* Useful for small files, but also for concatenating (which is where it got its name)&lt;br /&gt;
* &amp;lt;code&amp;gt;more&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;less&amp;lt;/code&amp;gt; are pagers&lt;br /&gt;
* You can feed output to them via the pipe operator&lt;br /&gt;
* they have keybindings similar to the editor vi: &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;?&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gg&amp;lt;/code&amp;gt;. &amp;lt;code&amp;gt;G&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Exercises ==&lt;br /&gt;
* Move into the hdi2u_files directory.&lt;br /&gt;
* Read the file hsy14768.embl using the commands cat, more and less.&lt;br /&gt;
* Don’t forget that tab completion can save you typing effort.&lt;br /&gt;
 cat hsy14768.embl&lt;br /&gt;
 more hsy14768.embl&lt;br /&gt;
 less hsy14768.embl&lt;br /&gt;
&lt;br /&gt;
* Use the spacebar to scroll down&lt;br /&gt;
* Press q to quit.&lt;br /&gt;
* Use the spacebar to scroll down, b to go up a page, and the up and down arrow keys to move up and down the file line by line.&lt;br /&gt;
* Press the / key and search for the letters sequen in the file.&lt;br /&gt;
* Press the ? key and search for the letters gene in the file.&lt;br /&gt;
* Press the n key to search for other instances of gene in the file.&lt;/div&gt;</summary>
		<author><name>Rf</name></author>	</entry>

	</feed>