<?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>Transcending Frontiers &#187; vi mode inside your shell</title>
	<atom:link href="http://blog.thefrontiergroup.com.au/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.thefrontiergroup.com.au</link>
	<description>Your peek inside the collective mind of The Frontier Group</description>
	<lastBuildDate>Mon, 02 Apr 2012 04:32:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>vi mode inside your shell</title>
		<link>http://blog.thefrontiergroup.com.au/2009/01/vi-mode-inside-your-shell/</link>
		<comments>http://blog.thefrontiergroup.com.au/2009/01/vi-mode-inside-your-shell/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 07:28:08 +0000</pubDate>
		<dc:creator>mlambie</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[vi]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://thefrontiergroup.com.au/blog/?p=269</guid>
		<description><![CDATA[For as long as I can remember I&#8217;ve used vim (or vi) as my editor of choice when on Linux or UNIX systems. I&#8217;ve also used bash as my shell, except in circumstances where it wasn&#8217;t available. We&#8217;ve been using Macs for a long time now, and one of the things that I only recently [...]]]></description>
			<content:encoded><![CDATA[<p>For as long as I can remember I&#8217;ve used <code>vim</code> (or <code>vi</code>) as my editor of choice when on Linux or UNIX systems. I&#8217;ve also used <code>bash</code> as my shell, except in circumstances where it wasn&#8217;t available. We&#8217;ve been using Macs for a long time now, and one of the things that I only recently learnt was that you can use CTRL-a to take you to the beginning of a line in a terminal. This meant I no longer leant on the left arrow key to get me back to the beginning of a long command.</p>
<p>I use <code>screen</code> to maintain remote, active connections to our various servers, and with my setup the CTRL-a trick didn&#8217;t work. I&#8217;ve just found that setting vi mode in bash will allow me to hit ESC then shift-I and take me to the beginning of a line. ESC engages vi mode, and you can navigate around the command as you would inside vi. For example, shift-I or 0 takes you to the start of the line, shift-a or $ to the end and h, l, k and j act as cursor keys.</p>
<p>You can engage vi mode by executing the following code, or adding it to your <code>~/.profile</code> (or any other dot file that is executed upon login).</p>
<pre name="code" class="shell">set -o vi</pre>
<p>I always like finding new shortcuts, even if there&#8217;s some minor annoyance at my former lack of awareness. It&#8217;s like how we discovered syntax highlighting in vim after completing our uni degrees&#8230; very bittersweet.</p>
<script src="http://feeds.feedburner.com/~s/TranscendingFrontiers?i=http://blog.thefrontiergroup.com.au/2009/01/vi-mode-inside-your-shell/" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://blog.thefrontiergroup.com.au/2009/01/vi-mode-inside-your-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stressed out to the eyeballs</title>
		<link>http://blog.thefrontiergroup.com.au/2008/11/stressed-out-to-the-eyeballs/</link>
		<comments>http://blog.thefrontiergroup.com.au/2008/11/stressed-out-to-the-eyeballs/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 14:55:03 +0000</pubDate>
		<dc:creator>mlambie</dc:creator>
				<category><![CDATA[Inside TFG]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Websites or Tools]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[cpuburn]]></category>
		<category><![CDATA[intrepid ibex]]></category>
		<category><![CDATA[kpc]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shuttle]]></category>
		<category><![CDATA[stress]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://thefrontiergroup.com.au/blog/?p=186</guid>
		<description><![CDATA[We&#8217;ve bought a cute little Shuttle KPC for the office. It&#8217;s a very compact PC that we&#8217;re going to use as a VOIP PBX. The bare-bone version of the machine ships with a motherboard and power supply already mounted in the case, but it lacks a CPU, memory or hard disk. Last week, for the [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve bought a cute little <a href="http://us.shuttle.com/kpc/">Shuttle KPC</a> for the office. It&#8217;s a very compact PC that we&#8217;re going to use as a VOIP PBX. The bare-bone version of the machine ships with a motherboard and power supply already mounted in the case, but it lacks a CPU, memory or hard disk. Last week, for the first time in about 5 years, I built a computer. Not much has changed, though I did have a hard time mounting the CPU. It resulted in a broken fan/heat-sink assembly, though thankfully a replacement was only $20.</p>
<p>Today I loaded the operating system, Ubuntu Linux 8.10 &#8220;Intrepid Ibex&#8221; and got a taste of the latest Ubuntu release. As usual, I&#8217;m quite impressed, and the improvements in the two and a half years since I regularly used a graphical Linux interface are highly noticeable. There&#8217;s lots of animation and the experience is more&#8230; fun?</p>
<p>I thought it would be wise to stress test this little box, as even though it&#8217;s not going to get that much of a workout at our office, I wanted to make sure the CPU was seated properly and was being cooled appropriately.</p>
<p>The two tools I picked for the job are <code><a href="http://packages.ubuntu.com/intrepid/stress">stress</a></code> and <code><a href="http://packages.ubuntu.com/intrepid/cpuburn">cpuburn</a></code>.</p>
<pre class="shell">mlambie@arcee:~$ stress --cpu 16 --io 12 --vm 8 --vm-bytes 128M -d 4 --timeout 60s
stress: info: [22065] dispatching hogs: 16 cpu, 12 io, 8 vm, 4 hdd
stress: info: [22065] successful run completed in 65s</pre>
<p>The little machine loved stress, maxing the CPU and causing the load average to skyrocket. The temperature stayed nice and chilly.</p>
<pre class="shell">mlambie@arcee:~$ cat /proc/acpi/thermal_zone/THRM/temperature
temperature:             37 C</pre>
<p>Similarly, loading up the CPU with <code>burnMMX</code> only added a few extra degrees Celsius.</p>
<p>I&#8217;m confident that this little box will perform well under stress. What tools do you like to use to stress your Linux systems?</p>
<script src="http://feeds.feedburner.com/~s/TranscendingFrontiers?i=http://blog.thefrontiergroup.com.au/2008/11/stressed-out-to-the-eyeballs/" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://blog.thefrontiergroup.com.au/2008/11/stressed-out-to-the-eyeballs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

