<?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>FergyTech &#187; terminal</title>
	<atom:link href="http://www.fergytech.com/tag/terminal/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fergytech.com</link>
	<description>The lovechild of technology and mayhem!</description>
	<lastBuildDate>Sun, 05 Feb 2012 09:34:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Enable SSH on Fedora 15</title>
		<link>http://www.fergytech.com/2011/05/enable-ssh-on-fedora-15/</link>
		<comments>http://www.fergytech.com/2011/05/enable-ssh-on-fedora-15/#comments</comments>
		<pubDate>Wed, 25 May 2011 10:23:27 +0000</pubDate>
		<dc:creator>Marc Ferguson</dc:creator>
				<category><![CDATA[Linuxapade]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[secure shell]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://www.fergytech.com/?p=1462</guid>
		<description><![CDATA[Good ol&#8217; Secure Shell or SSH &#8212; who would want to live without them!? To give you a text-book definition; SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices. Now that we&#8217;ve gotten that out of the way, let get down to business. You&#8217;ve got]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-1470" title="Secure Shell Daemon (tools)" src="http://www.fergytech.com/wp-content/uploads/lead-secure-shell-daemon.jpg" alt="" width="460" height="115" /></p>
<p>Good ol&#8217; <a href="http://en.wikipedia.org/wiki/Secure_Shell" target="_blank">Secure Shell</a> or <em>SSH</em> &#8212; who would want to live without them!? To give you a text-book definition; SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices. Now that we&#8217;ve gotten that out of the way, let get down to business. You&#8217;ve got a fresh install of <a href="http://fedoraproject.org/en/get-fedora" target="_blank">Fedora 15</a>, with that wonky <a href="http://gnome3.org/" target="_blank">GNOME 3</a> desktop, and need to figure out how to enable SSH. This article is simply a barebones way of getting started. There&#8217;s a better method to make the SSH session more secure, but I haven&#8217;t researched that yet.In order to run some of the commands you&#8217;ll need to have the root account&#8217;s password.<br />
<span id="more-1462"></span></p>
<h3>Enable SSH Daemon</h3>
<p>First things first, let&#8217;s make sure that the ssh daemon is running. Without that we&#8217;re not using this service at all. Open gnome-terminal and type:</p>
<blockquote class="code"><p>$ su -<br />
Password:<br />
# systemctl start sshd.service</p></blockquote>
<p>Now that it&#8217;s started you&#8217;ll need to keep it going in case you reboot your machine. Run the following command to have it start on-boot:</p>
<blockquote class="code"><p># systemctl enable sshd.service</p></blockquote>
<p>After executing that command I received the message below. <a href="http://www.linkedin.com/in/tomasztorcz" target="_blank">Tomasz Torcz</a> was kind of enough let me know that the above command will redirect to <em>chkconfig </em>until systemd unit file is shipped with sshd.</p>
<blockquote><p>sshd.service is not a native service, redirecting to /sbin/chkconfig.<br />
Executing /sbin/chkconfig sshd on</p></blockquote>
<h3>Verify Firewall Setting</h3>
<p>By default port 22 is open in the firewall, but it&#8217;s good to double check. Open <strong>system-config-firewall</strong>. You can either type in that name or navigate to <em>Activities | Applications | Firewall</em>.</p>
<p><a href="http://www.fergytech.com/wp-content/uploads/screenshot-firewall-configuration.png"><img class="alignnone size-medium wp-image-1463" title="screenshot-firewall-configuration" src="http://www.fergytech.com/wp-content/uploads/screenshot-firewall-configuration-300x214.png" alt="" width="300" height="214" /></a></p>
<h3>Test the Connection</h3>
<p>The easiest way to test is run the <strong>ssh</strong> command in your terminal. Another method is installing an SSH client on your Android device (<a href="http://code.google.com/p/connectbot/" target="_blank">ConnectBot</a>) or installing <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_blank">PuTTY</a> on your Windows machine. If you&#8217;re going to test the connection on the same machine, simply open gnome-terminal and type:</p>
<blockquote class="code"><p>$ ssh user@hostname</p></blockquote>
<p>For instance my username is &#8220;marc&#8221; and my computer is 10.0.0.2 (I could never figure out how to configure my hostname properly). So; I type in <strong>ssh marc@10.0.0.2</strong>. I&#8217;d get a warning message saying:</p>
<blockquote><p>The authenticity of host &#8217;10.0.0.2 (10.0.0.2)&#8217; can&#8217;t be established.<br />
RSA key fingerprint is [some long identification number in 2-digit sequence]<br />
Are you sure you want to continue connecting (yes/no)?</p></blockquote>
<p>Once I typed in &#8220;yes&#8221;, I was then able to type in my password for &#8220;marc&#8221; and continue on. That&#8217;s it. Have fun SSHin&#8217; into your machine from remote places.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fergytech.com/2011/05/enable-ssh-on-fedora-15/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Kill Then Reanimate Your GNOME Panel</title>
		<link>http://www.fergytech.com/2008/12/kill-then-reanimate-your-gnome-panel/</link>
		<comments>http://www.fergytech.com/2008/12/kill-then-reanimate-your-gnome-panel/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 21:30:50 +0000</pubDate>
		<dc:creator>Marc Ferguson</dc:creator>
				<category><![CDATA[Linuxapade]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[kill]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://www.fergytech.com/?p=233</guid>
		<description><![CDATA[I&#8217;ve run into this issue from time to time and I would normally have to reboot.  So; one day I said, &#8220;No more!  This is LINUX and I should be able to work around it.&#8221;  Oh!? What issue am I talking about?  When your GNOME panel gets stuck and there&#8217;s nothing you can do about]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-236" title="lead_gnome-panel" src="http://www.fergytech.com/wp-content/uploads/lead_gnome-panel.png" alt="Gnome Panel" /></p>
<p>I&#8217;ve run into this issue from time to time and I would normally have to reboot.  So; one day I said, &#8220;No more!  This is LINUX and I should be able to work around it.&#8221;  Oh!? What issue am I talking about?  When your GNOME panel gets stuck and there&#8217;s nothing you can do about it!  I&#8217;m going to show you how to kill your gnome-panel process and then restart it.  Note that it&#8217;s only a temporary solution &#8211; I know there&#8217;s a better way, but this will do for the time being.</p>
<p><span id="more-233"></span></p>
<p>When your GNOME panel goes on the frizz you can kill the process using the &#8220;pkill&#8221; command.  The only issue with this is once you start the gnome-panel it&#8217;s not so stable and it&#8217;ll reset to factory defaults.  No worries though once you reboot it will resume to your normal configuation.  So; to kill a mocking bird&#8230; ah I mean a gnome panel:</p>
<pre class="code">pkill gnome-panel</pre>
<h3>Reanimate the Panel You Just Killed</h3>
<p>After the panel goes away, you then want to bring your Frankenstein back to life.  Open a Terminal window and type &#8220;gnome-panel&#8221;.  That will start your GNOME panel process.  The only trick with this command is where you execute it.  Since it&#8217;s being executed in a Terminal window, you&#8217;re bound by it.  If you stop the command or close that terminal, your GNOME panel will go away, again.  After you run the command, simply minimize that Terminal window and go about your business.  JUST TO RESTATE, THIS IS ONLY A TEMPORARY SOLUTION.</p>
<p>Make sure you visit the <a href="http://live.gnome.org/GnomePanel" target="_blank">GnomePanel</a> page for more insight on this very useful module.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fergytech.com/2008/12/kill-then-reanimate-your-gnome-panel/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Kill Processes via the Terminal</title>
		<link>http://www.fergytech.com/2008/08/how-to-kill-processes-via-the-terminal/</link>
		<comments>http://www.fergytech.com/2008/08/how-to-kill-processes-via-the-terminal/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 15:34:21 +0000</pubDate>
		<dc:creator>Marc Ferguson</dc:creator>
				<category><![CDATA[Linuxapade]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[manual]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tomboy]]></category>
		<category><![CDATA[xkill]]></category>

		<guid isPermaLink="false">http://www.fergytech.com/?p=109</guid>
		<description><![CDATA[I&#8217;ve ran into this issue, from time to time, where I can&#8217;t access my graphical system monitoring tool (System Monitor) to kill processes. Luckily at that time I do have access to Terminal. The next question is, “Well; how do I view the processes running and how do I kill them?” Good question (I sound]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-110" title="lead_hitman" src="http://www.fergytech.com/wp-content/uploads/lead_hitman.png" alt="Hitman: How to Kill a Computer Process" /></p>
<p>I&#8217;ve ran into this issue, from time to time, where I can&#8217;t access my graphical system monitoring tool (System Monitor) to kill processes.  Luckily at that time I do have access to Terminal.  The next question is, “Well; how do I view the processes running and how do I kill them?”  Good question (I sound like a <em><span style="font-style: normal;">schizophrenic</span></em>), let me tell you how to view your active processes, all processes, and how to MDK (murder death kill; <a href="http://www.imdb.com/title/tt0106697/">Demolition Man</a> reference) them.</p>
<p><span id="more-109"></span></p>
<h3 class="western">Bash Command, “PS”</h3>
<p>Open your terminal of choice and you will have the bash command “ps” available to you.  “PS” stands for “process”; simple enough.  You can find more about the bash command by typing in “man ps”.  It will bring up the “man page” (Linux User&#8217;s Manual).</p>
<ol>
<li>Type “ps -e” or “ps -A”, to list all processes 	running, and press &lt;ENTER&gt;.</li>
<li>Scroll down to find the program you want to kill and remember 	the <strong>process id number (pid)</strong>.</li>
<li>Then type “kill {pid}” and press &lt;ENTER&gt;.  	<em>Replace {pid} with the actual process id number.</em></li>
</ol>
<h4 class="western">Example:</h4>
<p>In this example, we&#8217;ll say that tomboy was causing your 	system to freeze up and you needed to get rid of that process.  	After you execute the command “ps -e” to see all processes, find 	“tomboy” and remember the pid in the first column.  Then run the 	kill command.</p>
<p style="padding-left: 30px;">ps -e<br />
kill 3009</p>
<h3 class="western">Understanding the “Process”</h3>
<p>According to the Linux User Manual, “ps” reports a snapshot of the current processes.  What are processes, yeah this might be a good time to explain that.  Check out <a href="http://en.wikipedia.org/wiki/Process_(computing)" target="_blank">Wikipedia</a>&#8230;   isn&#8217;t that where everyone gets their solid facts from!?  Well anyway, a process is a running program; a task to be executed, especially one which is largely self-contained.  Seriously; I&#8217;m not going to write a lot about it.  Wikipedia has a lot more information.</p>
<h3>&#8220;X&#8221; Marks the Spot</h3>
<p>This command is very convenient and may be quicker than finding the process then killing it.  If the program that&#8217;s causing errors is right there in the open&#8230; then open your Terminal and type in &#8220;xkill&#8221;.  This will change your mouse pointer to a skull and crossbones.  Make sure you can easily see the program.  Once you click on it, Linux will kill the program clicked.  Pretty neat, eh!?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fergytech.com/2008/08/how-to-kill-processes-via-the-terminal/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Evolution: Summary and folder mismatch, even after a sync</title>
		<link>http://www.fergytech.com/2008/06/evolution-summary-and-folder-mismatch-even-after-a-sync/</link>
		<comments>http://www.fergytech.com/2008/06/evolution-summary-and-folder-mismatch-even-after-a-sync/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 04:06:10 +0000</pubDate>
		<dc:creator>Marc Ferguson</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[evolution]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://www.fergytech.com/?p=70</guid>
		<description><![CDATA[Quick Answer: Delete any related file ending in &#8220;.ev-summary&#8221; in the ~/.evolution/mail/local/ folder.  Make sure Evolution is closed before you do this. Rant: Here&#8217;s my ordeal with this horrible error, at least to a noob in linux, like myself.  I couldn&#8217;t figure out why I was getting this error.  When I opened Evolution I would]]></description>
			<content:encoded><![CDATA[<p><img class="alignright alignnone size-full wp-image-71" style="float: right; margin: 5px;" title="evo-logo3a" src="http://www.fergytech.com/wp-content/uploads/evo-logo3a.png" alt="GNOME Evolution Logo" /><strong>Quick Answer: Delete any related file ending in &#8220;.ev-summary&#8221; in the ~/.evolution/mail/local/ folder.  Make sure Evolution is closed before you do this.<br />
</strong></p>
<p><strong>Rant: </strong>Here&#8217;s my ordeal with this horrible error, at least to a noob in linux, like myself.  I couldn&#8217;t figure out why I was getting this error.  When I opened Evolution I would get a pop-up saying &#8220;Summary and folder mismatch, even after a sync&#8221;.  I thought it was my mail stored on my server, I have 4 pop accounts and I ended up deleting all the old emails 500+ each (Yeah I&#8217;m a pack rat).  It was literally driving me crazy because it wanted to redownload ALL my old emails.</p>
<p><span id="more-70"></span></p>
<p>Well after all that foolishness I finally figured out the solution.  Most sites I visited stated the same solution to the problem, go into the ~/.evolution/mail/local/ and delete any file that had <em>.ev-summary</em> relating to the pop-up error.  So; if your inbox was giving you the problem then you would delete <strong>Inbox.ev-summary</strong>.</p>
<p>My problem was even after I deleted that file I was still getting the issue.  After a couple days of pulling my hair out of my head&#8230;  Finally I ended up looking at the directory through gnome-terminal and I saw an extra file that&#8217;s not visible in a GUI file browser.  It ended witha  tilda (~), <strong>Inbox.ev-summary~</strong>.</p>
<p style="padding-left: 30px;"><em>I&#8217;ve noticed in linux that any file ending with a tilda is treated like a backup file, it&#8217;s also hidden to the naked eye. </em></p>
<p>Once I removed that file &#8211; everything was back to status quo.  What a trip!  I&#8217;ve been on forums, mailing lists &#8211; you name it.  I haven&#8217;t properly checked my mail in Evolution within the past couple days.  I&#8217;m glad that&#8217;s all over with!  Linux rocks!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fergytech.com/2008/06/evolution-summary-and-folder-mismatch-even-after-a-sync/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

