<?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_S11</id>
		<title>Hdi2u S11 - 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_S11"/>
		<link rel="alternate" type="text/html" href="http://stab.st-andrews.ac.uk/wiki/index.php?title=Hdi2u_S11&amp;action=history"/>
		<updated>2026-04-29T13:27:47Z</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_S11&amp;diff=1400&amp;oldid=prev</id>
		<title>Rf: Created page with &quot;= Tab completion =  * Fear of the command line often means, fear of typing too much. Everybody fears this, so there are tools. * Tab completion is probably the most important...&quot;</title>
		<link rel="alternate" type="text/html" href="http://stab.st-andrews.ac.uk/wiki/index.php?title=Hdi2u_S11&amp;diff=1400&amp;oldid=prev"/>
				<updated>2017-04-19T22:32:33Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Tab completion =  * Fear of the command line often means, fear of typing too much. Everybody fears this, so there are tools. * Tab completion is probably the most important...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Tab completion =&lt;br /&gt;
&lt;br /&gt;
* Fear of the command line often means, fear of typing too much. Everybody fears this, so there are tools.&lt;br /&gt;
* Tab completion is probably the most important tool, and relies on your pressing the &amp;lt;code&amp;gt;TAB&amp;lt;/code&amp;gt; key&lt;br /&gt;
* It tries to complete the filename or program name you have started typing, saving you typing time and reducing spelling errors.&lt;br /&gt;
 cd kir&lt;br /&gt;
* followed by &amp;lt;code&amp;gt;TAB&amp;lt;/code&amp;gt;. If there is only one directory with a name starting with the letters &amp;quot;kir&amp;quot;, the rest of the name will be completed for you.&lt;br /&gt;
* if there are several options, you need to supply more &amp;quot;hint-letters&amp;quot; and press &amp;lt;code&amp;gt;TAB&amp;lt;/code&amp;gt; multiple times.&lt;br /&gt;
&lt;br /&gt;
== Exercises ==&lt;br /&gt;
&lt;br /&gt;
* Type &amp;lt;code&amp;gt;ls testseq&amp;lt;/code&amp;gt; and use tab completion.&lt;br /&gt;
* This will show you a list of files that start with testseq.&lt;br /&gt;
* You now have the option of completing the filename yourself, or &amp;quot;tabbing&amp;quot; through the filenames available.&lt;br /&gt;
* It limits itself to files in your current directory.&lt;br /&gt;
* What happens if you type &amp;lt;code&amp;gt;TAB&amp;lt;/code&amp;gt; immediately after &amp;lt;code&amp;gt;ls&amp;lt;/code&amp;gt;?&lt;br /&gt;
* How can you find out all commands available on the system?&lt;br /&gt;
&lt;br /&gt;
== Answer ==&lt;br /&gt;
* The first word of a command line is usually a command, so TAB looks for commands, not files.&lt;br /&gt;
* By giving no hints at all to TAB, it will look for all possible commands.&lt;/div&gt;</summary>
		<author><name>Rf</name></author>	</entry>

	</feed>