 
    
<?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>shell Archives - Complete, Concrete, Concise</title>
	<atom:link href="https://complete-concrete-concise.com/tag/shell/feed/" rel="self" type="application/rss+xml" />
	<link>https://complete-concrete-concise.com/tag/shell/</link>
	<description>Practical Information Without The Bloat</description>
	<lastBuildDate>Wed, 01 May 2013 04:06:59 +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; How to Run a Shell / Command Line / Terminal as root</title>
		<link>https://complete-concrete-concise.com/ubuntu-2/ubuntu-13-04/ubuntu-13-04-how-to-run-a-shell-command-line-terminal-as-root/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Wed, 01 May 2013 04:06:59 +0000</pubDate>
				<category><![CDATA[Ubuntu 13.04]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/?p=2932</guid>

					<description><![CDATA[<p>The instructions are for Ubuntu 13.04, but should be the same for other versions.</p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-13-04/ubuntu-13-04-how-to-run-a-shell-command-line-terminal-as-root/">Ubuntu 13.04 &#8211; How to Run a Shell / Command Line / Terminal as root</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 other versions of Ubuntu and (probably) most other Linux distributions, but no guarantee is made.</p>
<p>Detailed instructions for opening a command line / terminal can be found <a href="//complete-concrete-concise.com/ubuntu-2/ubuntu-13-04/ubuntu-13-04-how-to-get-a-command-line-shell-or-terminal">here</a>.</p>
</div>
<p>When you open a terminal in Ubuntu, you do not have administrative privileges. This means that there are some operations you cannot perform at the terminal.</p>
<p>Ubuntu provides the <code>sudo</code> command which temporarily grants you administrative privilege. However, you still have to type <code>sudo</code> before each administrative command you want to perform.</p>
<p>If you want to live dangerously and have <u>full root access</u> while at the terminal, enter the following command in the terminal:</p>
<pre><code>sudo bash</code></pre>
<p>After entering your password, you now be running with full root privilege at the command line:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-root-access-in-terminal.png" alt="" border="0" class="centered" /></p>
<div class="c4">
<p><strong>Note:</strong> in order for this to work, you need to be a user who has the right to run <code>sudo</code>. In general, most users of Ubuntu have this right. However, user accounts can be created that do not have this right.</p>
</div>
<h3>How it Works</h3>
<p>Because some commands are potentially dangerous, unless you are <code>root</code> you are not allowed to run them. Using the <code>sudo</code> command temporarily elevates your status to <code>root</code> and allows you to run these commands.</p>
<p>When you run a terminal, it has the same privilege as the current user.</p>
<p>By running <code>sudo bash</code> you start another copy of the <code>bash shell</code>. However, you because you started it with <code>sudo</code> it runs with <code>root</code> privilege.</p>
<div class="c1">
<p>What is commonly called a terminal or command line is, in fact, a shell. There are many types of shells, <code>bash</code> is the default one with Ubuntu.</p>
</div>
<div class="c4">
<p><strong>WARNING:</strong> running as <code>root</code> is a good way to mess up your system if you are not careful because there are no checks in place to prevent you from making catastrophic changes to your system.</p>
<p>I grant that by using the <code>sudo</code> command you can also irretrievably damage your system, but at least you had to type <code>sudo</code> (and possibly a password) before doing anything.</p>
</div>

<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-13-04/ubuntu-13-04-how-to-run-a-shell-command-line-terminal-as-root/">Ubuntu 13.04 &#8211; How to Run a Shell / Command Line / Terminal as root</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 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; How to get a Command Line, Shell, or Terminal</title>
		<link>https://complete-concrete-concise.com/ubuntu-2/ubuntu-13-04/ubuntu-13-04-how-to-get-a-command-line-shell-or-terminal/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Thu, 25 Apr 2013 07:01:15 +0000</pubDate>
				<category><![CDATA[Ubuntu 13.04]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[commandline]]></category>
		<category><![CDATA[get how to]]></category>
		<category><![CDATA[open]]></category>
		<category><![CDATA[opening]]></category>
		<category><![CDATA[openning]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[ubuntu 13.04]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/?p=2806</guid>

					<description><![CDATA[<p>These instructions are for Ubuntu 13.04 using the Unity interface (although, hints are provided at the bottom of the article for those who have installed a different desktop). Linux (of which Ubuntu is a flavour) and it&#8217;s inspiration Unix, have a strong emphasis and tradition of doing everything via typed commands. Often, when searching the [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-13-04/ubuntu-13-04-how-to-get-a-command-line-shell-or-terminal/">Ubuntu 13.04 &#8211; How to get a Command Line, Shell, or Terminal</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="c1">
<p>These instructions are for Ubuntu 13.04 using the Unity interface (although, hints are provided at the bottom of the article for those who have installed a different desktop).</p>
<div class="c2">
<p>Linux (of which Ubuntu is a flavour) and it&#8217;s inspiration Unix, have a strong emphasis and tradition of doing everything via typed commands.</p>
<p>Often, when searching the Internet for a solution to a problem, you often find terse (possibly cryptic) answers along the lines of:</p>
<blockquote>
<p>Test if you can reach Google with <strong>ping -c 4 google.com</strong></p>
</blockquote>
<p>or</p>
<blockquote>
<p>To recursively change your file permissions just: <strong>chmod 755 -R /opt/lampp/htdocs</strong></p>
</blockquote>
<p>In order to run those commands, you have to open a shell or command line or terminal (they are all synonymous, but <u>shell</u> is the preferred term in Linux and Unix circles).</p>
<div class="c3">
<p>There are many different shells, the original Unix shell is called the Bourne Shell (or sh), then came the C Shell (csh) and Korn Shell (ksh). Linux tends to use the Bourne Again Shell (bash). For the most part, they all do the same thing, so you don&#8217;t need to worry about which one you are using.</p>
<p>If you want to know which shell you are using, just enter <u>echo $SHELL</u> at the command line and press <u>Enter</u>.</p>
</div>
</div>
</div>
<div class="c1">
<p><strong>Note:</strong> If you find a command line solution / trick / tip for a non-Ubuntu Linux distribution, there is a good chance (though not 100% guaranteed) that it might work with Ubuntu.</p>
<p>If you get a <u>Permission denied</u> or <u>Are you root?</u> response when you type in the command, try prefixing the command with <code>sudo</code>. Ubuntu requires administrator level privileges for certain commands. <code>sudo</code> temporarily gives administrator privileges (after you supply your password).</p>
</div>
<h1>Opening a Terminal using a Keyboard Shortcut</h1>
<div class="c2">
<p>This is the default keyboard shortcut for Ubuntu 13.04 (and probably most Linux distros running a GNOME 3 based desktop), unless you (or someone else) has changed it, it should work.</p>
<p>This also the default keyboard shortcut if you have changed your desktop environment to GNOME Shell, LXDE, or the Lubuntu Desktop and will work unless you (or someone else) has changed it.</p>
<p>This will <strong><u>NOT</u></strong> work for the XFCE or Xubuntu Desktop unless you (or someone else) has added the keyboard shortcut.</p>
</div>
<p><strong>1) Press</strong> <code>Ctrl + Alt + T</code> to open a terminal / command line / shell.</p>
<div class="c2">
<p><strong>Note:</strong> pressing <code>Ctrl + Alt + T</code> means: while holding down both the <code>Ctrl</code> key and <code>Alt</code> key, press the <code>T</code> key as though you intend to type it.</p>
<p><strong>DO NOT</strong> press the <code>Shift</code> key because <code>Ctrl + Alt + Shift + T</code> is different from <code>Ctrl + Alt + T</code>.</p>
<p>It does <strong>NOT</strong> matter if your <code>Caps Lock</code> is on or off.</p>
</div>
<p>The terminal should look something like this:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/04/13.04-commandline-1.png" alt="" border="0" class="centered"/></p>
<h1>Opening a Terminal from Unity</h1>
<p><strong>1) Click</strong> the Dash icon (or use the keyboard shortcut by tapping the <u>Windows / Super</u> key &#8211; don&#8217;t hold it down, just tap it as if you were going to type it):</p>
<p><img fetchpriority="high" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/04/13.04-commandline-2.jpg" width="480" height="193" alt="" border="0" class="centered"/></p>
<p><strong>2) Type</strong> <u>terminal</u> into the entry field:</p>
<div class="c1">
<p>As you type, Unity will display matching results below the entry field. You can stop typing when what you are looking for is the leftmost item.</p>
</div>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/04/13.04-commandline-3.png" alt="" border="0" class="centered"/></p>
<p><strong>3) Press</strong> <u>Enter / Return</u> key to open the terminal:</p>
<div class="c1">
<p>You can also open the terminal by clicking on it with your mouse.</p>
<p>You can use the arrow keys on your keyboard to navigate to it and then press the <u>Enter</u> key to select it (if you are using the arrow keys built into your numpad ensure that <code>Num Lock</code> is off):</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/04/13.04-commandline-4.png" alt="" border="0" class="centered"/></div>
<h1>Opening a Terminal if You are not Using Unity</h1>
<p>Because there are many different types of desktops available for Linux, it is not possible to list all possible ways to start the terminal. However … the general technique is the same:</p>
<p><strong>1) Open</strong> the <u>Main Menu</u> or <u>Applications Menu</u> (or whatever the main menu for your environment is called).</p>
<p><strong>2)</strong> If you are lucky, there will be a menu entry for a terminal (it might be called <u>Terminal</u> or <u>LXTerminal</u> or something else with <code>terminal</code> in the name.</p>
<p><strong>3)</strong> If you are unlucky, then you will have to look for it in a submenu. It is most likely to be found in a submenu called <u>Accessories</u> or <u>System</u>.</p>
<div class="c2">
<p><strong>Note:</strong> You may have more than one terminal application installed or the terminal application may appear in more than one menu location.</p>
</div>
<h1>How to (Almost) Always Get a Command Prompt</h1>
<div class="c1">
<p>This works with pretty much any Linux distribution (unless they have been specially compiled to disable it).</p>
</div>
<p>If you need to access the command line and no terminal application has been installed,  or you can&#8217;t find it, or the GUI has become unresponsive, you can press <code>Ctrl + Alt + F1</code> to switch you to a full screen text terminal / command line / shell. To return to your GUI, press <code>Ctrl + Alt + F7</code>.</p>
<div class="c2">
<p><strong>Note:</strong> pressing <code>Ctrl + Alt + F1</code> means: while holding down both the <code>Ctrl</code> key and <code>Alt</code> key, press the <code>F1</code> key as though you intend to type it.</p>
<p>The same is true when pressing <code>Ctrl + Alt + F7</code>.</p>
<p>It does <strong>NOT</strong> matter if your <code>Caps Lock</code> is on or off.</p>
</div>
<div class="c1">
<p>All Linux distributions (unless specially compiled otherwise), use <code>Ctrl + Alt + F1</code> through <code>Ctrl + Alt + F6</code> provide access to 6 full screen command line terminals. These 6 terminals are always available, so it doesn&#8217;t matter which one you access.</p>
<p>In the same way, <code>Ctrl + Alt + F7</code> through <code>Ctrl + Alt + F12</code> provide access to running X Servers. Normally, there is only one and it is found at <code>Ctrl + Alt + F7</code> &#8211; unless you have additional X Servers running, <code>F8</code> through <code>F12</code> will be blank screens.</p>
</div>
<p>You will be required to login with your <u>username</u> and <u>password</u> (as with all command lines, your password is not echoed back to you):</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/04/13.04-commandline-5.png" alt="" border="0" class="centered"/></p>
<p>Otherwise, it behaves exactly like any other terminal.</p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-13-04/ubuntu-13-04-how-to-get-a-command-line-shell-or-terminal/">Ubuntu 13.04 &#8211; How to get a Command Line, Shell, or Terminal</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; How to Run a Shell / Command Line / Terminal with root Privilege / Access</title>
		<link>https://complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-how-to-run-a-shell-command-line-terminal-with-root-privilege-access/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Wed, 13 Mar 2013 12:41:20 +0000</pubDate>
				<category><![CDATA[Ubuntu 12.04]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[root access]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/?p=2668</guid>

					<description><![CDATA[<p>This tutorial is for Ubuntu 12.04. It should be the same for other versions of Ubuntu and (probably) most other Linux distributions, but no guarantee is made./p> Detailed instructions for opening a command line / terminal can be found here. When you open a terminal in Ubuntu, you do not have administrative privileges. This means [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-how-to-run-a-shell-command-line-terminal-with-root-privilege-access/">Ubuntu 12.04 &#8211; How to Run a Shell / Command Line / Terminal with root Privilege / Access</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 other versions of Ubuntu and (probably) most other Linux distributions, but no guarantee is made./p></p>
<p>Detailed instructions for opening a command line / terminal can be found <a href="//complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-how-to-get-a-command-line-shell-or-terminal">here</a>.</p>
</div>
<p>When you open a terminal in Ubuntu, you do not have administrative privileges. This means that there are some operations you cannot perform at the terminal.</p>
<p>Ubuntu provides the <code>sudo</code> command which temporarily grants you administrative privilege. However, you still have to type <code>sudo</code> before each administrative command you want to perform.</p>
<p>If you want to live dangerously and have <u>full root access</u> while at the terminal, enter the following command in the terminal:</p>
<pre><code>sudo bash</code></pre>
<p>After entering your password, you now be running with full root privilege at the command line:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-root-access-in-terminal.png" alt="" border="0" class="centered"/></p>
<div class="c4">
<p><strong>Note:</strong> in order for this to work, you need to be a user who has the right to run <code>sudo</code>. In general, most users of Ubuntu have this right. However, user accounts can be created that do not have this right.</p>
</div>
<h3>How it Works</h3>
<p>Because some commands are potentially dangerous, unless you are <code>root</code> you are not allowed to run them. Using the <code>sudo</code> command temporarily elevates your status to <code>root</code> and allows you to run these commands.</p>
<p>When you run a terminal, it has the same privilege as the current user.</p>
<p>By running <code>sudo bash</code> you start another copy of the <code>bash shell</code>. However, you because you started it with <code>sudo</code> it runs with <code>root</code> privilege.</p>
<div class="c1">
<p>What is commonly called a terminal or command line is, in fact, a shell. There are many types of shells, <code>bash</code> is the default one with Ubuntu.</p>
</div>
<div class="c4">
<p><strong>WARNING:</strong> running as <code>root</code> is a good way to mess up your system if you are not careful because there are no checks in place to prevent you from making catastrophic changes to your system.</p>
<p>I grant that by using the <code>sudo</code> command you can also irretrievably damage your system, but at least you had to type <code>sudo</code> (and possibly a password) before doing anything.</p>
</div>

<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-how-to-run-a-shell-command-line-terminal-with-root-privilege-access/">Ubuntu 12.04 &#8211; How to Run a Shell / Command Line / Terminal with root Privilege / Access</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>
		<item>
		<title>Ubuntu 12.10 &#8211; How to get a Command Line, Shell, or Terminal</title>
		<link>https://complete-concrete-concise.com/ubuntu-2/ubuntu-12-10/how-to-get-a-command-line-shell-or-terminal/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Thu, 18 Oct 2012 10:47:49 +0000</pubDate>
				<category><![CDATA[Ubuntu 12.10]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[commandline]]></category>
		<category><![CDATA[get how to]]></category>
		<category><![CDATA[open]]></category>
		<category><![CDATA[opening]]></category>
		<category><![CDATA[openning]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[ubuntu 12.10]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/?p=2369</guid>

					<description><![CDATA[<p>These instructions are for Ubuntu 12.10 using the Unity interface (although, hints are provided at the bottom of the article for those who have installed a different desktop). Linux (of which Ubuntu is a flavour) and it&#8217;s inspiration Unix, have a strong emphasis and tradition of doing everything via typed commands. Often, when searching the [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-12-10/how-to-get-a-command-line-shell-or-terminal/">Ubuntu 12.10 &#8211; How to get a Command Line, Shell, or Terminal</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="c1">
<p>These instructions are for Ubuntu 12.10 using the Unity interface (although, hints are provided at the bottom of the article for those who have installed a different desktop).</p>
<div class="c2">
<p>Linux (of which Ubuntu is a flavour) and it&#8217;s inspiration Unix, have a strong emphasis and tradition of doing everything via typed commands.</p>
<p>Often, when searching the Internet for a solution to a problem, you often find terse (possibly cryptic) answers along the lines of:</p>
<blockquote>
<p>Test if you can reach Google with <strong>ping -c 4 google.com</strong></p>
</blockquote>
<p>or</p>
<blockquote>
<p>To recursively change your file permissions just: <strong>chmod 755 -R /opt/lampp/htdocs</strong></p>
</blockquote>
<p>In order to run those commands, you have to open a shell or command line or terminal (they are all synonymous, but <u>shell</u> is the preferred term in Linux and Unix circles).</p>
<div class="c3">
<p>There are many different shells, the original Unix shell is called the Bourne Shell (or sh), then came the C Shell (csh) and Korn Shell (ksh). Linux tends to use the Bourne Again Shell (bash). For the most part, they all do the same thing, so you don&#8217;t need to worry about which one you are using.</p>
<p>If you want to know which shell you are using, just enter <u>echo $SHELL</u> at the command line and press <u>Enter</u>.</p>
</div>
</div>
</div>
<div class="c1">
<p><strong>TIP:</strong> If you find a command line solution / trick / tip for a non-Ubuntu Linux distribution, there is a good chance (though not 100% guaranteed) that it might work with Ubuntu.</p>
<p>If you get a <u>Permission denied</u> or <u>Are you root?</u> response when you type in the command, try prefixing the command with <code>sudo</code>. Ubuntu requires administrator level privileges for certain commands. <code>sudo</code> temporarily gives administrator privileges (after you supply your password).</p>
</div>
<h1>Opening a Terminal using a Keyboard Shortcut</h1>
<div class="c2">
<p>This is the default keyboard shortcut for Ubuntu 12.10 (and probably previous Ubuntu releases) running the GNOME / Unity desktop, unless you (or someone else) has changed it, it should work.</p>
<p>This also the default keyboard shortcut if you have changed your desktop environment to GNOME Shell, LXDE, or the Lubuntu Desktop and will work unless you (or someone else) has changed it.</p>
<p>This will <strong><u>NOT</u></strong> work for the XFCE or Xubuntu Desktop unless you (or someone else) has added the keyboard shortcut.</p>
</div>
<p><strong>1) Press</strong> <code>Ctrl + Alt + T</code> to open a terminal / command line / shell.</p>
<div class="c2">
<p><strong>NOTE:</strong> pressing <code>Ctrl + Alt + T</code> means: simultaneously hold down the <code>Ctrl</code> key and <code>Alt</code> key, then press the <code>T</code> key as though you intend to type it.</p>
<p><strong>DO NOT</strong> press the <code>Shift</code> key because <code>Ctrl + Alt + Shift + T</code> is different from <code>Ctrl + Alt + T</code>.</p>
<p>It does <strong>NOT</strong> matter if your <code>Caps Lock</code> is on or off.</p>
</div>
<p>The terminal should look something like this:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-how-to-get-a-commandline-1.png" alt="" border="0" class="centered" /></p>
<h1>Opening a Terminal from Unity</h1>
<p><strong>1) Click</strong> the Dash icon (or use the keyboard shortcut by pressing the <u>Windows</u> key &#8211; don&#8217;t hold it down, just tap it as if you were going to type it):</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-how-to-get-a-commandline-2.jpg" width="200" height="227" alt="" border="0" class="centered" /></p>
<p><strong>2) Type</strong> <u>terminal</u> into the entry field:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-how-to-get-a-commandline-3.jpg" width="480" height="283" alt="" border="0" class="centered" /></p>
<p><strong>3) Click</strong> on the <u>terminal</u> icon:</p>
<p><img loading="lazy" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-how-to-get-a-commandline-4.jpg" width="480" height="283" alt="" border="0" class="centered" /></p>
<div class="c2">
<p>Alternately, you can navigate to the <u>terminal</u> icon by using the arrow keys on your keyboard (if you are using the arrow keys built into your numpad ensure that <code>Num Lock</code> is off) and then pressing the <u>Enter</u> key to select it.</p>
</div>
<h1>Opening a Terminal if You are not Using Unity</h1>
<p>Because there are many different types of desktops available for Linux, it is not possible to list all possible ways to start the terminal. However … the general technique is the same:</p>
<p><strong>1) Open</strong> the <u>Main Menu</u> or <u>Applications Menu</u> (or whatever the main menu for your environment is called).</p>
<p><strong>2)</strong> If you are lucky, there will be a menu entry for a terminal (it might be called <u>Terminal</u> or <u>LXTerminal</u> or something else with <code>terminal</code> in the name.</p>
<p><strong>3)</strong> If you are unlucky, then you will have to look for it in a submenu. It is most likely to be found in a submenu called <u>Accessories</u> or <u>System</u>.</p>
<div class="c2">
<p><strong>NOTE:</strong> You may have more than one terminal application installed or the terminal application may appear in more than one menu location.</p>
</div>
<h1>How to (Almost) Always Get a Command Prompt</h1>
<div class="c1">
<p>This works with pretty much any Linux distribution (unless they have been specially compiled to disable it).</p>
</div>
<p>If you need to access the command line and no terminal application has been installed,  or you can&#8217;t find it, or the GUI has become unresponsive, you can press <code>Ctrl + Alt + F1</code> to switch you to a full screen text terminal / command line. To return to your GUI, press <code>Ctrl + Alt + F7</code>.</p>
<div class="c2">
<p><strong>NOTE:</strong> pressing <code>Ctrl + Alt + F1</code> means: simultaneously hold down the <code>Ctrl</code> key and <code>Alt</code> key, then press the <code>F1</code> key as though you intend to type it.</p>
<p>The same is true when pressing <code>Ctrl + Alt + F7</code>.</p>
<p>It does <strong>NOT</strong> matter if your <code>Caps Lock</code> is on or off.</p>
</div>
<div class="c1">
<p>In all Linux distributions (unless specially compiled otherwise), <code>Ctrl + Alt + F1</code> through <code>Ctrl + Alt + F6</code> provide access to 6 full screen command line terminals. These 6 terminals are always available, so it doesn&#8217;t matter which one you access.</p>
<p>In the same way, <code>Ctrl + Alt + F7</code> through <code>Ctrl + Alt + F12</code> provide access to running X Servers. Normally, there is only one and it is found at <code>Ctrl + Alt + F7</code> &#8211; unless you have enabled additional X Servers to be running <code>F8</code> through <code>F12</code> will be blank screens.</p>
</div>
<p>You will be required to login with your <u>username</u> and <u>password</u> (as with all command lines, your password is not echoed back to you):</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/10/ubuntu-12.10-command-prompt.png" alt="" border="0" class="centered"/></p>
<p>Otherwise, it behaves exactly like any other terminal.</p>

<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-12-10/how-to-get-a-command-line-shell-or-terminal/">Ubuntu 12.10 &#8211; How to get a Command Line, Shell, or Terminal</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; How to get a Command Line, Shell, or Terminal</title>
		<link>https://complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-how-to-get-a-command-line-shell-or-terminal/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Thu, 26 Apr 2012 08:00:00 +0000</pubDate>
				<category><![CDATA[Ubuntu 12.04]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[commandline]]></category>
		<category><![CDATA[get]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[open]]></category>
		<category><![CDATA[opening]]></category>
		<category><![CDATA[openning]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 12.04]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/?p=1695</guid>

					<description><![CDATA[<p>These instructions are for Ubuntu 12.04 using the Unity interface (although, hints are provided at the bottom of the article for those who have installed a different desktop). Linux (of which Ubuntu is a flavour) and it&#8217;s inspiration Unix, have a strong emphasis and tradition of doing everything via typed commands. Often, when searching the [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-how-to-get-a-command-line-shell-or-terminal/">Ubuntu 12.04 &#8211; How to get a Command Line, Shell, or Terminal</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="c1">
<p>These instructions are for Ubuntu 12.04 using the Unity interface (although, hints are provided at the bottom of the article for those who have installed a different desktop).</p>
<div class="c2">
<p>Linux (of which Ubuntu is a flavour) and it&#8217;s inspiration Unix, have a strong emphasis and tradition of doing everything via typed commands.</p>
<p>Often, when searching the Internet for a solution to a problem, you often find terse (possibly cryptic) answers along the lines of:</p>
<blockquote><p>Test if you can reach Google with <strong>ping -c 4 google.com</strong></p></blockquote>
<p>or</p>
<blockquote><p>To recursively change your file permissions just: <strong>chmod 755 -R /opt/lampp/htdocs</strong></p></blockquote>
<p>In order to run those commands, you have to open a shell or command line or terminal (they are all synonymous, but <u>shell</u> is the preferred term in Linux and Unix circles).</p>
<div class="c3">
<p>There are many different shells, the original Unix shell is called the Bourne Shell (or sh), then came the C Shell (csh) and Korn Shell (ksh). Linux tends to use the Bourne Again Shell (bash). For the most part, they all do the same thing, so you don&#8217;t need to worry about which one you are using.</p>
<p>If you want to know which shell you are using, just enter <u>echo $SHELL</u> at the command line and press <u>Enter</u>.</p>
</div>
</div>
</div>
<div class="c1">
<p><strong>TIP:</strong> If you find a command line solution / trick / tip for a non-Ubuntu Linux distribution, there is a good chance (though not 100% guaranteed) that it might work with Ubuntu.</p>
<p>If you get a <u>Permission denied</u> or <u>Are you root?</u> response when you type in the command, try prefixing the command with <code>sudo</code>. Ubuntu requires administrator level privileges for certain commands. <code>sudo</code> temporarily gives administrator privileges (after you supply your password).</p>
</div>
<div class="c3">
<p><strong>For more information on using a command line, see this tutorial on <a href="//complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-basic-command-line-techniques">Basic Command Line Techniques</a>.</strong></p>
</div>
<h1>Opening a Terminal using a Keyboard Shortcut</h1>
<div class="c2">
<p>This is the default keyboard shortcut for Ubuntu 12.04 (and probably previous Ubuntu releases) running the GNOME / Unity desktop, unless you (or someone else) has changed it, it should work.</p>
<p>This also the default keyboard shortcut if you have changed your desktop environment to GNOME Shell, LXDE, or the Lubuntu Desktop and will work unless you (or someone else) has changed it.</p>
<p>This will <strong><u>NOT</u></strong> work for the XFCE or Xubuntu Desktop unless you (or someone else) has added the keyboard shortcut.</p>
</div>
<p><strong>1) Press</strong> <code>Ctrl + Alt + T</code> to open a terminal / command line / shell.</p>
<div class="c2">
<p><strong>NOTE:</strong> pressing <code>Ctrl + Alt + T</code> means: simultaneously hold down the <code>Ctrl</code> key and <code>Alt</code> key, then press the <code>T</code> key as though you intend to type it.</p>
<p><strong>DO NOT</strong> press the <code>Shift</code> key because <code>Ctrl + Alt + Shift + T</code> is different from <code>Ctrl + Alt + T</code>.</p>
<p>It does <strong>NOT</strong> matter if your <code>Caps Lock</code> is on or off.</p>
</div>
<p>The terminal should look something like this:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-how-to-get-a-commandline-1.png" alt="" border="0" class="centered" /></p>
<h1>Opening a Terminal from Unity</h1>
<p><strong>1) Click</strong> the Dash icon (or use the keyboard shortcut by pressing the <u>Windows</u> key &#8211; don&#8217;t hold it down, just tap it as if you were going to type it):</p>
<p><img loading="lazy" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-how-to-get-a-commandline-2.jpg" width="200" height="227" alt="" border="0" class="centered" /></p>
<p><strong>2) Type</strong> <u>terminal</u> into the entry field:</p>
<p><img loading="lazy" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-how-to-get-a-commandline-3.jpg" width="480" height="283" alt="" border="0" class="centered" /></p>
<p><strong>3) Click</strong> on the <u>terminal</u> icon:</p>
<p><img loading="lazy" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-how-to-get-a-commandline-4.jpg" width="480" height="283" alt="" border="0" class="centered" /></p>
<div class="c2">
<p>Alternately, you can navigate to the <u>terminal</u> icon by using the arrow keys on your keyboard (if you are using the arrow keys built into your numpad ensure that <code>Num Lock</code> is off) and then pressing the <u>Enter</u> key to select it.</p>
</div>
<h1>Opening a Terminal if You are not Using Unity</h1>
<p>Because there are many different types of desktops available for Linux, it is not possible to list all possible ways to start the terminal. However … the general technique is the same:</p>
<p><strong>1) Open</strong> the <u>Main Menu</u> or <u>Applications Menu</u> (or whatever the main menu for your environment is called).</p>
<p><strong>2)</strong> If you are lucky, there will be a menu entry for a terminal (it might be called <u>Terminal</u> or <u>LXTerminal</u> or something else with <code>terminal</code> in the name.</p>
<p><strong>3)</strong> If you are unlucky, then you will have to look for it in a submenu. It is most likely to be found in a submenu called <u>Accessories</u> or <u>System</u>.</p>
<div class="c2">
<p><strong>NOTE:</strong> You may have more than one terminal application installed or the terminal application may appear in more than one menu location.</p>
</div>

<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-how-to-get-a-command-line-shell-or-terminal/">Ubuntu 12.04 &#8211; How to get a Command Line, Shell, or Terminal</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
