<?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_S05</id>
		<title>Hdi2u S05 - 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_S05"/>
		<link rel="alternate" type="text/html" href="http://stab.st-andrews.ac.uk/wiki/index.php?title=Hdi2u_S05&amp;action=history"/>
		<updated>2026-04-27T11:05:30Z</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_S05&amp;diff=1393&amp;oldid=prev</id>
		<title>Rf: Created page with &quot;== Answers ==  * You get the hidden files * the &lt;code&gt;-l&lt;/code&gt; is the long listing * this file is empty, it has no content. * by default ls will list files anywhere it can fi...&quot;</title>
		<link rel="alternate" type="text/html" href="http://stab.st-andrews.ac.uk/wiki/index.php?title=Hdi2u_S05&amp;diff=1393&amp;oldid=prev"/>
				<updated>2017-04-19T22:28:38Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Answers ==  * You get the hidden files * the &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt; is the long listing * this file is empty, it has no content. * by default ls will list files anywhere it can fi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Answers ==&lt;br /&gt;
&lt;br /&gt;
* You get the hidden files&lt;br /&gt;
* the &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt; is the long listing&lt;br /&gt;
* this file is empty, it has no content.&lt;br /&gt;
* by default ls will list files anywhere it can find them.&lt;br /&gt;
* this is the Present Working Directory, it tell us where all these files are.&lt;br /&gt;
* &amp;lt;code&amp;gt;sl&amp;lt;/code&amp;gt; is the most common typo, so it became a trick program, try it and see&lt;br /&gt;
&lt;br /&gt;
== Exercise: Focus only on directories ==&lt;br /&gt;
&lt;br /&gt;
* Try postfixing the asterisk with a &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; and also give the &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt; option&lt;br /&gt;
 ls -d */&lt;br /&gt;
* Once we find a file, and know its size and date, the poorly named &amp;lt;code&amp;gt;file&amp;lt;/code&amp;gt; command will give use more details. Try&lt;br /&gt;
 file *&lt;br /&gt;
* It&amp;#039;s a lot of information, can it be explained?&lt;br /&gt;
* Another useful companion command to &amp;lt;code&amp;gt;ls&amp;lt;/code&amp;gt; is &amp;lt;code&amp;gt;wc -l&amp;lt;/code&amp;gt;, word counti iwht the line option. Try:&lt;br /&gt;
 ls -l tes*[123].embl&lt;br /&gt;
 wc -l tes*[123].embl&lt;br /&gt;
* What extra information are you getting?&lt;/div&gt;</summary>
		<author><name>Rf</name></author>	</entry>

	</feed>