 
    
<?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>basic Archives - Complete, Concrete, Concise</title>
	<atom:link href="https://complete-concrete-concise.com/tag/basic/feed/" rel="self" type="application/rss+xml" />
	<link>https://complete-concrete-concise.com/tag/basic/</link>
	<description>Practical Information Without The Bloat</description>
	<lastBuildDate>Tue, 30 Apr 2013 19:59:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>Ubuntu 13.04 &#8211; Basic Command Line Techniques</title>
		<link>https://complete-concrete-concise.com/ubuntu-2/ubuntu-13-04/ubuntu-13-04-basic-command-line-techniques/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Tue, 30 Apr 2013 19:59:01 +0000</pubDate>
				<category><![CDATA[Ubuntu 13.04]]></category>
		<category><![CDATA[basic]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu 13.04]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/?p=2925</guid>

					<description><![CDATA[<p>Using the command line doesn't have to be mysterious or hard.</p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-13-04/ubuntu-13-04-basic-command-line-techniques/">Ubuntu 13.04 &#8211; Basic Command Line Techniques</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="c1">
<p>This tutorial is for Ubuntu 13.04.</p>
<p>It is probably the same for every other version of Ubuntu and all other Linux distros, but I make no guarantee.</p>
</div>
<p>Linux (on which Ubuntu is based) is fundamentally a command line driven operating system. While there are graphical interfaces to many of the available commands, sometimes you need (or have no choice) to work at the command line.</p>
<p>There are five fundamental things everyone working at the command line should know (or at least be aware of):</p>
<ol>
<li>man</li>
<li>pipes</li>
<li>redirection</li>
<li>less (or more)</li>
<li>ls</li>
</ol>
<h1>man</h1>
<div class="c1">
<p><code>man</code> is short for <u>manual</u></p>
</div>
<p><code>man</code> is the help file.</p>
<p>When you want to know more about a command, you enter <code>man <em>&lt;command name&gt;</em></code> to display information about the command. For example:</p>
<pre><code>man ls</code></pre>
<p>will bring up the <code>man</code> page for the command <code>ls</code>. You could also enter <code>man man</code> to display information about the <code>man</code> command. The <code>man</code> page for <code>ls</code> looks something like this:</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2012/12/basic-command-line-techniques-1-big.png" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/12/basic-command-line-techniques-1-thumb.png" alt="" border="0" class="centered" /></a></p>
<p>To navigate through a <code>man</code> you use the following commands:</p>
<ul>
<li>q &#8211; exit (quit) the man page</li>
<li>SPACE or f &#8211; forward to the next page</li>
<li>b &#8211; backward to the previous page</li>
<li>e &#8211; forward one line</li>
<li>y &#8211; backward one line</li>
</ul>
<div class="c4">
<p>While there are <code>man</code> pages for pretty much every command, there is no <code>man</code> page for the command <code>cd</code>.</p>
</div>
<h1>Pipes</h1>
<p>Pipes allow you to send the displayed output from one command to another command.</p>
<p>In other words, when you enter a command that displays a bunch of information on the terminal (and maybe scrolls past the top of the terminal), you can use a pipe to send that information to another command.</p>
<p>The most common use of pipes is with the <code>more</code> (or, preferably, <code>less</code>) command. This is especially true when information scrolls past the top of the terminal.</p>
<p>The pipe is the vertical bar (or broken bar) symbol: &#8216;<code>|</code>&#8216;.</p>
<p>For example, any of the following commands is likely display information that will scroll past the top of the terminal:</p>
<pre><code>ls /bin
ls /etc
ls /lib</code></pre>
<p>If we pipe the output to the <code>more</code> command, then we can scroll through the output one display page at a time:</p>
<pre><code>ls /etc | more</code></pre>
<p>Another common use of pipes is with the <code>grep</code> command. (<code>grep</code> is often used to filter out unwanted information &#8211; but I won&#8217;t be covering <code>grep</code> here.)</p>
<p>You can pipe together as many commands as you like. The output from the command on the left of the pipe is sent to the command on the right of the pipe.</p>
<h1>Redirection</h1>
<p>Sometimes you need to capture the information displayed by a command. This is done using redirection.</p>
<p>The output displayed by a command can be sent to a file instead of the display.</p>
<p>The redirection operator is the greater than symbol: &#8216;&gt;&#8217;.</p>
<p>For example, suppose I want to dump a <code>man</code> page to file, so I can later look at (or print that file). I can do so by redirecting the <code>man</code> output to a file (you choose the name of the file):</p>
<pre><code>man ls > ls.txt</code></pre>
<p>The above command will send the output of the <code>man</code> page for <code>ls</code> to a file called <u>ls.txt</u>. I can then handle <u>ls.txt</u> the same way I handle any text file.</p>
<p>Another example, I could send a directory listing to a file as well:</p>
<pre><code>ls > directory_list</code></pre>
<p>The above command will send the output of <code>ls</code> to a file called <u>directory_list</u>. Again, the file can be handled the same way any other text file is handled.</p>
<p>Redirection always send stores the file in the current directory (normally, this will be your <code>/home/<i>&lt;user&gt;</i></code> directory). You can write the file to another directory by either (1) changing to a different directory (using the <code>cd</code> command), or (2) specifying the path along with the file name. <strong>Note:</strong> you may not have permission to write in other directories, so the operation will fail.</p>
<h1>less</h1>
<div class="c1">
<p><code>less</code> is an improved version of the <code>more</code> command. The main advantage of using <code>less</code> instead of <code>more</code> is that <code>less</code> lets you scroll backwards through data that has been piped to it; <code>more</code> only allows you to scroll forward through piped data. Other than that difference, <code>less</code> and <code>more</code> behave almost identically.</p>
</div>
<p><code>less</code> is used to display information one page at a time.</p>
<p>Most often it is used in conjunction with pipes to prevent output from scrolling off the top of the terminal:</p>
<pre><code>ls | less</code></pre>
<p><code>less</code> can be used to display the contents of a text file:</p>
<pre><code>less <i>&lt;file name&gt;</i></code></pre>
<p>where <i>&lt;file name&gt;</i> is the name of the text file to display.</p>
<p>To navigate through text being displayed by <code>less</code> you use the following commands:</p>
<ul>
<li>q &#8211; exit (quit) <code>less</code></li>
<li>SPACE or f &#8211; forward to the next page</li>
<li>b &#8211; backward to the previous page (does not work if <code>more</code> is displaying text from a pipe and the main reason why  <code>less</code> is preferred)</li>
<h1>ls</h1>
<div class="c1">
<p><code>ls</code> is short for <u>list</u></p>
</div>
<p><code>ls</code> is used to display the contents of a directory.</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/12/basic-command-line-techniques-2.png" alt="" border="0" class="centered" data-recalc-dims="1"/></p>
<p>Directory contents are colour coded. Different files have different colours.</p>
<p>The default colours (in the default Ubuntu 13.04 terminal) for common file types are:</p>
<div class="c2">
<p><strong>Note:</strong> if you or someone has configured your system, or you are using a different terminal (or a different Linux distribution), the colours and their significance may be completely different.</p>
</div>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/12/basic-command-line-colours.png" alt="" border="0" class="centered" data-recalc-dims="1"/></p>
<p>There are other colour combinations in use and some colours (notably purple) are reused for other file types.</p>

<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-13-04/ubuntu-13-04-basic-command-line-techniques/">Ubuntu 13.04 &#8211; Basic Command Line Techniques</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Ubuntu 13.04 &#8211; Basic Unity Interface / Desktop Tutorial</title>
		<link>https://complete-concrete-concise.com/ubuntu-2/ubuntu-13-04/ubuntu-13-04-basic-unity-interface-desktop-tutorial/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Tue, 30 Apr 2013 07:26:35 +0000</pubDate>
				<category><![CDATA[Ubuntu 13.04]]></category>
		<category><![CDATA[basic]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[introduction]]></category>
		<category><![CDATA[introductory]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu 13.04]]></category>
		<category><![CDATA[unity]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/?p=2917</guid>

					<description><![CDATA[<p>The basics of Unity are easy to pick up.</p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-13-04/ubuntu-13-04-basic-unity-interface-desktop-tutorial/">Ubuntu 13.04 &#8211; Basic Unity Interface / Desktop Tutorial</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="c1">
<p>This is a basic tutorial for the Unity Interface / Desktop which comes with Ubuntu 13.04 &#8211; it should help get you up and running.</p>
<p>Each new version of Unity (introduced in 11.04) improves on the functionality of the desktop.</p>
<div class="c2">
<p>This tutorial reflects the way I understand and use the Unity interface.</p>
</div>
</div>
<p>The Unity interface consists of four main parts:</p>
<ol>
<li>Panel</li>
<li>Launcher</li>
<li>Dash</li>
<li>HUD</li>
</ol>
<h2>The Panel</h2>
<p>The Panel is the strip at the top of the interface:</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2013/04/1304-unity-tutorial-1-big.png" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/04/1304-unity-tutorial-1-thumb.png" alt="" border="0" class="centered"/></a></p>
<p>The menu bar that you are used to seeing near the top of an application&#8217;s window is now displayed in the panel:</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2013/04/1304-unity-tutorial-2-big.png" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/04/1304-unity-tutorial-2-thumb.png" alt="" border="0" class="centered"/></a></a></p>
<p>There is a catch:</p>
<ol>
<li>The menus displayed in the Panel are <u>only</u> for the active (topmost) application window.</li>
<li>The menus are <u>only</u> displayed when you <u>hover</u> your mouse over the Panel, otherwise, the Panel is empty.</li>
<li>If a window is maximized (full screen), the buttons (icons) for minimize, maximize, and close are hidden unless you hover your mouse over the panel.</li>
</ol>
<p>This might seem like a step backward. Why hide the menu bar? Why make the user have to move the mouse all the way to the panel to access it? While it gives a little extra window space to the application, it is also inefficient – and this was the problem with Unity in Ubuntu 11.04 and 11.10.</p>
<p>Since Ubuntu 12.04, Unity has the HUD. The HUD makes mousing / navigating through menus obsolete (mostly).</p>
<p>Additional things displayed in the Panel include:</p>
<ul>
<li>the name of the active (topmost) application (green)</li>
<li>various indicators (blue)</li>
<li>the time (yellow)</li>
<li>the system menu (red)</li>
</ul>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2013/04/1304-unity-tutorial-3-big.png" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/04/1304-unity-tutorial-3-thumb.png" alt="" border="0" class="centered"/></a></p>
<h2>The Launcher</h2>
<div class="c1">
<p>Despite being the most prominent feature of the Unity interface, it is the one I use the least.</p>
</div>
<p>This is the panel of buttons on the left hand side of the screen:</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2013/04/1304-unity-tutorial-4-big.jpg" target="_blank"><img fetchpriority="high" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/04/1304-unity-tutorial-4-thumb.jpg" width="480" height="360" alt="" border="0" class="centered"/></a></p>
<p>It serves 3 functions:</p>
<ol>
<li><strong>Application Launcher:</strong> clicking on an icon will launch the application associated with that icon. e.g. Clicking on the FireFox icon launches the FireFox browser.</p>
</li>
<li><strong>Visual indicator of running applications:</strong> any running application has its icon placed in the Launcher and an indicator showing its status.
<ol>
<li><strong>Two solid triangles:</strong> this is the active application (the one on top).</li>
<li><strong>Single solid triangle:</strong> the application is running, but does not have focus (is not on top).</li>
<li><strong>Single open triangle:</strong> the application is running in a different workspace (by default, Ubuntu 13.04 sets up only a single workspace. You can read how to enable workspaces <a href="//complete-concrete-concise.com/ubuntu-2/ubuntu-13-04/ubuntu-13-04-how-to-enable-multiple-workspaces">here</a>.).</li>
</ol>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-basic-unity-tutorial-launcher-2.jpg" alt="" border="0" class="centered" /></p>
<li><strong>Application Switcher:</strong> you can switch to an application (bring it to the front) by clicking on its icon in the Launcher.</li>
</ol>
<h3>Removing an Application from the Launcher</h3>
<div class="c1">
<p><strong>Note:</strong> removing an application from the Launcher does <u><strong>not</strong></u> uninstall the application.</p>
</div>
<p>The Launcher can become cluttered with applications (when you install an application using the Ubuntu Software Center, it is usually automatically placed in the Launcher).</p>
<p><strong>1) Right-click</strong> on the application you want to remove from the launcher. This will display a popup menu.</p>
<p><strong>2) Click</strong> on <u>Unlock from Launcher</u> in the popup menu:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/04/1304-unity-tutorial-5.jpg" width="480" height="203" alt="" border="0" class="centered"/></p>
<h3>Adding an Application to the Launcher</h3>
<p>Sometimes, an application is not added to the Launcher, or you had previously removed it.</p>
<p><strong>1) Start</strong> the application / program you want to add to the Launcher.</p>
<p><strong>2) Find</strong> the application&#8217;s icon in the Launcher.</p>
<p><strong>3) Right-click</strong> on the icon. This will display a popup menu.</p>
<p><strong>4) Click</strong> on <u>Lock to Launcher</u> to add the program to the Launcher:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/04/1304-unity-tutorial-6.png" alt="" border="0" class="centered"/></p>
<div class="c2">
<p>In general, only the most commonly used applications should be in the launcher.</p>
</div>
<h2>Dash</h2>
<div class="c1">
<p>The Dash replaces searching through menu hierarchies for applications.</p>
<p>Like anything new, it feels all wrong, but, I found it very easy to pick up and now prefer it over the traditional menu navigating paradigm.</p>
</div>
<p>Instead or navigating a hierarchy of menus, Dash provides a query field in which you type the name of the application or document you want to open.</p>
<p>Using the Dash interface is very much like searching with Google &#8211; as you type in what you are looking for, Dash displays possible results.</p>
<div class="c2">
<p>I think the greatest strength of Dash is that you can navigate it completely via the keyboard, so you never alternate between typing and reaching for the mouse.</p>
</div>
<p>Dash is activated by either:</p>
<p><strong>1) Clicking</strong> on the Dash icon in the Launcher:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/04/1304-unity-tutorial-7.jpg" width="480" height="149" alt="" border="0" class="centered"/></p>
<p><strong>2) Tapping</strong> the <u>Windows</u> key on your keyboard</p>
<div class="c2">
<p><strong>Note:</strong> tapping the <u>Windows</u> keys means pressing it as though you intend to type it. It does not mean holding down the key (holding down the key does something else).</p>
<p>Ubuntu calls this the <u>Super</u> key</p>
</div>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-basic-unity-tutorial-dash-2.jpg" alt="" border="0" class="centered" /></p>
<p>The Dash panel looks something like this (click for a larger image):</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2013/04/1304-unity-tutorial-8-big.jpg" target="_blank"><img loading="lazy" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/04/1304-unity-tutorial-8-thumb.jpg" width="480" height="327" alt="" border="0" class="centered"/></a></p>
<p>It is divided into upto 5 sections:</p>
<ol>
<li>
<p>The query field (<span class="i1">outlined in green</span>) is where the keyboard focus goes when you activate the Dash.</p>
<p>Type the name of the application you want to run, or document you want to open. As you type, Dash will update the list of applications and documents.</p>
<p>It has improved greatly since 11.04, if you type in <code>game</code> you will get <u>Mahjong</u>, <u>AisleRiot Solitaire</u> and <u>Freecell Solitaire</u>, and <u>Sudoku</u>.</p>
<p>I suspect it may still miss certain applications because they are not listed in the &#8220;obvious&#8221; way. For example, previous versions of Unity would not display <u>Sudoku</u> if you typed in <code>game</code> &#8211; you needed to type in <code>puzzle</code>.</p>
<p>If you type in <code>games</code> it will only display <u>AisleRiot Solitaire</u>, but none of the other games.</p>
</li>
<li>
<p>A list of the most recently used applications (<span class="i3">outlined in red</span>) is displayed. If you type in the query field, the list of applications is modified to match your search.
</p>
<p>You can use your mouse to select an application, or you can use the arrow keys to navigate to the desired application (and then press <code>Enter</code>. I like using the arrow keys because my hands don&#8217;t have to leave the keyboard.</p>
</li>
<li>
<p>A list of the most recent viewed documents (<span class="i2">outlined in blue</span>) is displayed. If you type in the query field, the list of documents is modified to match your search.</p>
<p>You can use your mouse or the arrow keys to navigate and select the desired document. I like using the arrow keys because my hands don&#8217;t have to leave the keyboard.</p>
</li>
<li>
<p>Relevant search results from Amazon (<span class="i4">outlined in yellow</span>) . As you type your query, it is sent to Amazon (anonymously via Ubuntu) and relevant results are displayed.</p>
<p>Many people find this intrusive and disable this feature. Instructions to disable Amazon search results are here.</p>
<p>I don&#8217;t have a problem with it, but wish it was more customizable. For instance, I don&#8217;t want Amazon search results in my main Dash panel. I don&#8217;t mind them if I am using the music lens or movie lens (explained in more detail below). Unfortunately, there is no way to selectively enable Amazon search results.</p>
</li>
<li>
<p>At the very bottom of the Dash (<span class="i2">shaded in green</span>) are a number of icons. These are &#8220;lenses&#8221;.  A lens is a specifically focussed (or themed) query. The five lenses at the bottom are:</p>
<ol>
<li>Dash lens: this is the default lens &#8211; it searches everything you are possibly connected to which includes your computer as well as any cloud services you use.</li>
<li>Applications lens: this focuses searches only within applications.</li>
<li>Folders and Documents lens: this focuses searches only on folders and documents.</li>
<li>Music lens: focuses search on music.</li>
<li>Photos Lens: focuses search on photos.</li>
<li>Video lens: focuses search on videos.</li>
</ol>
<p>You can navigate to the lenses using either the mouse or keyboard.</p>
<p>Typing <code>Ctrl + Tab</code> will navigate through the lenses.</p>
<div class="c2">
<p><strong>Note:</strong> typing <code>Ctrl + Tab</code> means, &#8220;While holding down the <code>Ctrl</code> key, press the <code>Tab</code> key as though you intend to type it.&#8221;</p>
</div>
<p>If you hold the <u>Windows</u> (Super) key down for a few seconds, a cheat sheet of commands will be displayed (click for larger image):</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-basic-unity-tutorial-dash-4-big.jpg" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-basic-unity-tutorial-dash-4-thumb.jpg" alt="" border="0" class="centered" /></a></p>
<div class="c2">
<p><strong>Note:</strong> the cheat sheet only appears if your screen resolution is 1024&#215;768 or greater.</p>
</div>
<h2>HUD</h2>
<div class="c1">
<p>The HUD was introduced in Ubuntu 12.04 and combined with Dash it provides a powerful way of interacting with your applications.</p>
<p>Just as Dash replaces navigating a hierarchy of menus to find applications and documents, HUD replaces navigating a hierarchy of menus in an application.</p>
<p>Like anything new, it feels all wrong, but, I found it very easy to pick up and now prefer it over the traditional menu navigating paradigm.</p>
</div>
<p>Instead or navigating a hierarchy of menus, HUD provides a query field in which you type the name of the action you want to perform with your applications.</p>
<p>Normally, to do something in a program you either use a keyboard shortcut (like <code>Ctrl+B</code> to bold text in a word processor), or you use the mouse to select an option from a menu or toolbar.</p>
<p>With HUD, you type in what you want to do. The HUD interface will then locate appropriate / matching menu entries and display them to you to select. Again, you can use the mouse to perform the selection or the arrow keys and the <u>Enter</u> key.</p>
<div class="c2">
<p>I think the greatest strength of HUD is that you can navigate it completely via the keyboard, so you never alternate between typing and reaching for the mouse.</p>
</div>
<p>The HUD is activated when you tap on the <u>Alt</u> key:</p>
<div class="c2">
<p><strong>Note:</strong> tapping the <u>Alt</u> keys means pressing it as though you intend to type it. It does not mean holding down the key.</p>
<p>If you hold the <code>Alt</code> key down for about 2 seconds, the application menu bar will display in the Panel. As soon as yo let go of the <code>Alt</code> key, it will disappear &#8211; thus encouraging use of the keyboard to select a menu option (e.g. <code>Alt + F</code> to open the <u>F</u>ile menu).</p>
</div>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-basic-unity-tutorial-hud-1.jpg" alt="" border="0" class="centered" /></p>
<p>The HUD panel looks something like this:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-basic-unity-tutorial-hud-2.jpg" alt="" border="0" class="centered" /></p>
<ol>
<li>
<p>The query field (<span class="i3">outlined in red</span>) is where you type the operation you want to perform in the application, e.g. <code>open</code>, <code>new</code>, <code>auto white balance</code>, etc.</p>
<p>This is where the focus goes when you activate the HUD.</p>
<p>As you type, a list of possible commands will be displayed below it. You can navigate those commands using the mouse and clicking to select or the keyboard (arrow keys) and pressing <u>Enter</u> to select. By default, the top command is always selected and will be executed if you press <u>Enter</u>. A nice thing is that you do not have to type the whole command.</p>
<div class="c1">
<p><strong>Note:</strong> if a command is not available (for example, it is greyed out), then it will not appear in the list of commands.</p>
<p>For example, if you have just opened GIMP without any image, it is not possible to perform image operations on it (like unsharp mask, or auto color enhance, etc). So if you type <code>unsharp</code> into the query field, you will not receive any options.</p>
<p>I think it would be better if the HUD somehow indicated that the operation is unavailable rather than just not showing it at all.</p>
</div>
</li>
<li>
<p>On the left, the icon (<span class="i1">outlined in green</span>) shows which application the command is for.</p>
<p>The HUD may display commands for other programs (not just the active one). This can be confusing if you are not paying attention.</p>
</li>
<li>
<p>Below the query field is a list of matching commands (<span class="i2">outlined in blue</span>.</p>
</li>
</ol>
<div class="c4">
<p><strong>Note:</strong> HUD may not work with all applications &#8211; it depends on how the menus in an application were coded. Prior to Ubuntu 13.04, LibreOffice was an application that did not work with the HUD (there was a patch available to make it work, though).</p>
</div>
<h2>Final Words</h2>
<p>Unity is a new way of interacting with the computer: instead of navigating a hierarchy of menus, you type what you want to do.</p>
<p>As an old timer (my first interactions with a computer were via a teletype), I never really liked the mouse / GUI way of doing things because it required me to take one hand off the keyboard. As a consequence, I have always configured shortcut keys to perform common tasks.</p>
<p>With Unity, I am able to keep my hands on the keyboard and easily perform the tasks I need. I still program my shortcut keys, but I know longer have to navigate through menus to find some lesser used operation.</p>
<p>Play with it. I think you will find it easy to learn. I have found it easier to adapt to than the Ribbon interface Microsoft introduced a few years ago.</p>
<p>I find the Dash and HUD work well when I am very familiar with the programs / applications I am working with and I know the command set.</p>
<p>I find the HUD awkward to work with when I am not familiar with an application. For example, perhaps I install Blender to try out some 3D graphics development. Not being familiar with Blender, it is very awkward to try typing commands into the HUD in the hope of finding the right one. This is definitely a case where being able to browse through a bunch of menus can be helpful.</p>
<p>Of course, I can always type <code>help</code> and hope a help file comes up.</p>
<p>It is with new or unfamiliar applications that I miss the menu bar at the top, but even if a menu bar was visible, there have been times when I could not find what I wanted and had to google to discover how it was named or where it was located.</p>

<h2>Additional Resources</h2>
<p>While these aren&#8217;t tutorials, they offer some insight into Canonical&#8217;s focus and direction (they are written by Mark Shuttleworth  – Canonical&#8217;s CEO):</p>
<p><a href="http://www.markshuttleworth.com/archives/939">Introducing the HUD. Say hello to the future of the menu.</a></p>
<p><a href="http://www.markshuttleworth.com/archives/717">Dash takes shape for 11.10 Unity</a> (note: the Dash panel has changed somewhat from the screen capture he presents)</p>
<p>This shows a side by side comparison between using the tradition menu driven way to perform a task and using HUD. While a number of commenters have complained that it isn&#8217;t an objective comparison, I think it shows very nicely the difference in working in both environments:</p>
<p><iframe loading="lazy" width="560" height="315" src="http://www.youtube.com/embed/lSkXgXZL7G4" frameborder="0" allowfullscreen></iframe></p>
<p>This is another video showing the HUD In action:</p>
<p><iframe loading="lazy" width="560" height="315" src="http://www.youtube.com/embed/w_WW-DHqR3c" frameborder="0" allowfullscreen></iframe></p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-13-04/ubuntu-13-04-basic-unity-interface-desktop-tutorial/">Ubuntu 13.04 &#8211; Basic Unity Interface / Desktop Tutorial</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Ubuntu 12.04 &#8211; Basic Command Line Techniques</title>
		<link>https://complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-basic-command-line-techniques/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Thu, 13 Dec 2012 14:57:21 +0000</pubDate>
				<category><![CDATA[Ubuntu 12.04]]></category>
		<category><![CDATA[basic]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu 12.04]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/?p=2598</guid>

					<description><![CDATA[<p>This tutorial is for Ubuntu 12.04. It should be the same for every other version of Ubuntu and all other Linux distros, but I make no guarantee. Linux (on which Ubuntu is based) is fundamentally a command line driven operating system. While there are graphical interfaces to many of the available commands, sometimes you need [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-basic-command-line-techniques/">Ubuntu 12.04 &#8211; Basic Command Line Techniques</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="c1">
<p>This tutorial is for Ubuntu 12.04.</p>
<p>It should be the same for every other version of Ubuntu and all other Linux distros, but I make no guarantee.</p>
</div>
<p>Linux (on which Ubuntu is based) is fundamentally a command line driven operating system. While there are graphical interfaces to many of the available commands, sometimes you need (or have no choice) to work at the command line.</p>
<p>There are five fundamental things everyone working at the command line should know (or at least be aware of):</p>
<ol>
<li>man</li>
<li>pipes</li>
<li>redirection</li>
<li>more</li>
<li>ls</li>
</ol>
<h1>man</h1>
<div class="c1">
<p><code>man</code> is short for <u>manual</u></p>
</div>
<p><code>man</code> is the help file.</p>
<p>When you want to know more about a command, you enter <code>man <em>&lt;command name&gt;</em></code> to display information about the command. For example:</p>
<pre><code>man ls</code></pre>
<p>will bring up the <code>man</code> page for the command <code>ls</code>. You could also enter <code>man man</code> to display information about the <code>man</code> command. The <code>man</code> page for <code>ls</code> looks something like this:</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2012/12/basic-command-line-techniques-1-big.png" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/12/basic-command-line-techniques-1-thumb.png" alt="" border="0" class="centered"/></a></p>
<p>To navigate through a <code>man</code> you use the following commands:</p>
<ul>
<li>q &#8211; exit (quit) the man page</li>
<li>SPACE or f &#8211; forward to the next page</li>
<li>b &#8211; backward to the previous page</li>
<li>e &#8211; forward one line</li>
<li>y &#8211; backward one line</li>
</ul>
<div class="c4">
<p>For some reason, there is no <code>man</code> page for the command <code>cd</code>.</p>
</div>
<h1>Pipes</h1>
<p>Pipes allow you to send the displayed output from one command to another command.</p>
<p>In other words, when you enter a command that displays a bunch of information on the terminal (and maybe scrolls past the top of the terminal), you can use a pipe to send that information to another command.</p>
<p>The most common use of pipes is with the <code>more</code> command. This is especially true when information scrolls past the top of the terminal.</p>
<p>The pipe is the vertical bar (or broken bar) symbol: &#8216;<code>|</code>&#8216;.</p>
<p>For example, any of the following commands is likely display information that will scroll past the top of the terminal:</p>
<pre><code>ls /bin
ls /etc
ls /lib</code></pre>
<p>If we pipe the output to the <code>more</code> command, then we can scroll through the output one display page at a time:</p>
<pre><code>ls /etc | more</code></pre>
<p>Another common use of pipes is with the <code>grep</code> command. (<code>grep</code> is often used to filter out unwanted information &#8211; but I won&#8217;t be covering <code>grep</code> here.)</p>
<p>You can pipe together as many commands as you like. The output from the command on the left of the pipe is sent to the command on the right of the pipe.</p>
<h1>Redirection</h1>
<p>Sometimes you need to capture the information displayed by a command. This is done using redirection.</p>
<p>The output displayed by a command can be sent to a file instead of the display.<./p></p>
<p>The redirection operator is the greater than symbol: &#8216;&#038;gt&#8217;.</p>
<p>For example, suppose I want to dump a <code>man</code> page to file, so I can later look at (or print that file). I can do so by redirecting the <code>man</code> output to a file (you choose the name of the file):</p>
<pre><code>man ls > ls.txt</code></pre>
<p>The above command will send the output of the <code>man</code> page for <code>ls</code> to a file called <u>ls.txt</u>. I can then handle <u>ls.txt</u> the same way I handle any text file.</p>
<p>Another example, I could send a directory listing to a file as well:</p>
<pre><code>ls > directory_list</code></pre>
<p>The above command will send the output of <code>ls</code> to a file called <u>directory_list</u>. Again, the file can be handled the same way any other text file is handled.</p>
<p>Redirection always send stores the file in the current directory (normally, this will be your <code>/home/<i>&lt;user&gt;</i></code> directory). You can write the file to another directory by either (1) changing to a different directory (using the <code>cd</code> command), or (2) specifying the path along with the file name. <strong>Note:</strong> you may not have permission to write in other directories, so the operation will fail.</p>
<h1>more</h1>
<p><code>more</code> is used to display information one page at a time.</p>
<p>Most often it is used in conjunction with pipes to prevent output from scrolling off the top of the terminal:</p>
<pre><code>ls | more</code></pre>
<p><code>more</code> can be used to display the contents of a text file:</p>
<pre><code>more <i>&lt;file name&gt;</i></code></pre>
<p>where <i>&lt;file name&gt;</i> is the name of the text file to display.</p>
<p>To navigate through text being displayed by <code>more</code> you use the following commands:</p>
<ul>
<li>q &#8211; exit (quit) <code>more</code></li>
<li>SPACE or f &#8211; forward to the next page</li>
<li>b &#8211; backward to the previous page (does not work if <code>more</code> is displaying text from a pipe)</li>
<div class="c1">
<p>There is a slightly more useful command called <code>less</code> that allows you to scroll forwards and backwards through piped information. Aside from that difference <code>less</code> behaves very much like <code>more</code>.</p>
<p>You can use <code>man less</code> to learn about the <code>less</code> command</p>
</div>
<h1>ls</h1>
<div class="c1">
<p><code>ls</code> is short for <u>list</u></p>
</div>
<p><code>ls</code> is used to display the contents of a directory.</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/12/basic-command-line-techniques-2.png" alt="" border="0" class="centered"/></p>
<p>Directory contents are colour coded. Different files have different colours.</p>
<p>The default colours (in the default Ubuntu 12.04 terminal) for common file types are:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/12/basic-command-line-colours.png" alt="" border="0" class="centered"/></p>
<p>There are other colour combinations in use and some colours (notably purple) are reused for other file types.</p>

<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-basic-command-line-techniques/">Ubuntu 12.04 &#8211; Basic Command Line Techniques</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
