<?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>Quails home away from the nest &#187; Bash</title>
	<atom:link href="http://quail.southernvaleslug.org/webblog/archives/category/bash/feed" rel="self" type="application/rss+xml" />
	<link>http://quail.southernvaleslug.org/webblog</link>
	<description>The significant problems we face cannot be solved at the same level of thinking we were at when we created them - Albert Einstein</description>
	<lastBuildDate>Mon, 21 Jun 2010 00:33:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Howto: Not have Nouveau kernel module take over nVidia drivers</title>
		<link>http://quail.southernvaleslug.org/webblog/archives/243</link>
		<comments>http://quail.southernvaleslug.org/webblog/archives/243#comments</comments>
		<pubDate>Mon, 21 Jun 2010 00:33:24 +0000</pubDate>
		<dc:creator>Quail</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Xorg]]></category>

		<guid isPermaLink="false">http://quail.southernvaleslug.org/webblog/?p=243</guid>
		<description><![CDATA[Since the last Debian testing kernel (2.6.32.5) update, I have rebooted and found myself being in what seems to be a kernel issue, where by a module &#8220;nouveau&#8221; by default seized control of the graphics card which prevents the nVidia driver from loading and would not allow me to compile and install the nVidia proprietary [...]]]></description>
			<content:encoded><![CDATA[<p>Since the last Debian testing kernel (2.6.32.5) update, I have rebooted and found myself being in what seems to be a kernel issue, where by a module &#8220;nouveau&#8221; by default seized control of the graphics card which prevents the nVidia driver from loading and would not allow me to compile and install the nVidia proprietary driver either. I also didn&#8217;t not have &#8220;xserver-xorg-video-nouveau&#8221; installed.</p>
<p>Here is the work around I used to resolve the problem.</p>
<p>If you use grub2 then edit</p>
<blockquote><p>
/etc/default/grub
</p></blockquote>
<p>then add</p>
<blockquote><p>
nouveau.modeset=0
</p></blockquote>
<p>to the end of the line that reads</p>
<blockquote><p>
GRUB_CMDLINE_LINUX_DEFAULT=&#8221;quiet&#8221;
</p></blockquote>
<p>(&#8220;quiet&#8221; seems a typical default option), so that that line now reads</p>
<blockquote><p>
GRUB_CMDLINE_LINUX_DEFAULT=&#8221;quiet nouveau.modeset=0&#8243;
</p></blockquote>
<p>run</p>
<blockquote><p>
update-grub2
</p></blockquote>
<p>and reboot.</p>
<p>Now go through and install you nVidia drivers as per normal.</p>
]]></content:encoded>
			<wfw:commentRss>http://quail.southernvaleslug.org/webblog/archives/243/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internode Usage meter for Conky</title>
		<link>http://quail.southernvaleslug.org/webblog/archives/210</link>
		<comments>http://quail.southernvaleslug.org/webblog/archives/210#comments</comments>
		<pubDate>Thu, 08 Apr 2010 09:03:21 +0000</pubDate>
		<dc:creator>Quail</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Eye Candy]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Internode]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://quail.southernvaleslug.org/webblog/?p=210</guid>
		<description><![CDATA[This is a rework of the script from Internet Usage Monitoring &#8211; conky style! But the only problem I found is that it not wanted to work with my NodeMobile account.  So here is my rewrite of parts of the script to use the other Internode Usage API url.
One thing you need to find [...]]]></description>
			<content:encoded><![CDATA[<p>This is a rework of the script from <a href="http://matt.bottrell.com.au/archives/305-Internet-Usage-Monitoring-conky-style!.html" onclick="window.open(this.href); return false">Internet Usage Monitoring &#8211; conky style!</a> But the only problem I found is that it not wanted to work with my NodeMobile account.  So here is my rewrite of parts of the script to use the other <a href="http://www.internode.on.net/" onclick="window.open(this.href); return false">Internode</a> Usage API url.</p>
<p>One thing you need to find out for this script to work is the service number for the account you want to get the usage for. That can be easily obtained by pointing your web browser to <a href="https://customer-webtools-api.internode.on.net/api/v1.5/" onclick="window.open(this.href); return false">https://customer-webtools-api.internode.on.net/api/v1.5/</a> and logging in.</p>
<p><span id="more-210"></span><br />
<strong>This is old code please refer to <a href="http://quail.southernvaleslug.org/pub/node-usage/" onclick="window.open(this.href); return false">http://quail.southernvaleslug.org/pub/node-usage/</a></strong></p>
<p>On the page is the number you need to add to &#8217;service=XXXXXXX&#8217; in the scipt below</p>
<blockquote><p><code><br />
#!/bin/bash<br />
## node-usage.sh<br />
## Author:<br />
## Quail <quail .linux@gmail.com> http://quail.southernvaleslug.org<br />
## Created on 8th April 2010.<br />
## Licensed under the GPL version 3.</p>
<p>## Get usage information from Internode's web page.<br />
## requires: curl and gawk</p>
<p># Set the username, password and service number<br />
service=XXXXXXX<br />
id=XXXXXXX<br />
pw=XXXXXXX</p>
<p># Grab the details<br />
curl -s -u $id:$pw https://customer-webtools-api.internode.on.net/api/v1.5/$service/usage >/tmp/usage.xml</p>
<p># Process the usage.xml<br />
rollover=`cat /tmp/usage.xml |sed -n 2p|cut -d"=" -f5|cut -d'"' -f2`<br />
quota=`cat /tmp/usage.xml |sed -n 2p|cut -d"=" -f7|cut -d'"' -f2`<br />
used=`cat /tmp/usage.xml |sed -n 2p|cut -d">" -f6|cut -d"< " -f1`</p>
<p># Break up the values into their respective parts<br />
echo "$used $quota" > /tmp/node-text.txt<br />
echo "Used: `cat /tmp/node-text.txt | gawk '{print $1/1000/1000}'` MB Quota: `cat /tmp/node-text.txt | gawk '{print $2/1000/1000}'` MB Period Ends: $rollover" > /tmp/node-usage.txt</p>
<p># Generate the percent used.<br />
cat /tmp/node-text.txt | gawk '{print $1/$2*100}' > /tmp/node-graph.txt<br />
percent=`cat /tmp/node-graph.txt`<br />
echo $(printf %.0f $percent) > /tmp/node-percent.txt</p>
<p>exit<br />
</quail></code>
</p></blockquote>
<p>Now make the script executable and run it from cron.</p>
<p>This how I have display the info in Conky</p>
<blockquote><p>
<code><br />
${color #5b6dad}Internode Usage: ${hr 1}<br />
${color #7f8ed3} ${execi 900 cat /tmp/node-percent.txt}% ${execibar 900 cat /tmp/node-graph.txt}<br />
${color #7f8ed3} ${execi 900 cat /tmp/node-usage.txt}<br />
</code>
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://quail.southernvaleslug.org/webblog/archives/210/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LINK: &#8220;INX Is Not X&#8221;, Version 1.0.</title>
		<link>http://quail.southernvaleslug.org/webblog/archives/97</link>
		<comments>http://quail.southernvaleslug.org/webblog/archives/97#comments</comments>
		<pubDate>Tue, 07 Oct 2008 12:52:25 +0000</pubDate>
		<dc:creator>Quail</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://quail.southernvaleslug.org/webblog/?p=97</guid>
		<description><![CDATA[
INX is a &#8220;Live CD&#8221; distribution of GNU/Linux, derived from Ubuntu 8.04.1 LTS, but using &#8220;ubuntu-minimal&#8221; and &#8220;ubuntu-standard&#8221; as a base. It is console only, without any graphical &#8220;X&#8221; programs.
INX is intended as a &#8220;tutorial&#8221; and introduction to the Bash command line, but is a fully capable, portable GNU/Linux system in its own right. It [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>
INX is a &#8220;Live CD&#8221; distribution of GNU/Linux, derived from Ubuntu 8.04.1 LTS, but using &#8220;ubuntu-minimal&#8221; and &#8220;ubuntu-standard&#8221; as a base. It is console only, without any graphical &#8220;X&#8221; programs.</p>
<p>INX is intended as a &#8220;tutorial&#8221; and introduction to the Bash command line, but is a fully capable, portable GNU/Linux system in its own right. It has a collection of easy-to-use menus, colour themes, easy configuration tools, music (and video on the frame buffer), some games, and several surprises for those who are not aware of what can be done in a console/tty.</p>
<p>INX is fun, and not intimidating for console beginners.</p>
<p>INX 1.0 also includes new features; you can now set up wireless with the &#8220;Ceni&#8221; tool from the INX &#8220;Net &#038; Web&#8221; menu. You can use your mouse with programs like xlinks2, elinks, mc, and the jed text editor. In addition to the powerful GNU Screen program, INX now sports the &#8220;Dvtm&#8221; Dynamic Virtual Terminal Manager, a &#8220;tiled terminal manager&#8221;. </p></blockquote>
<p>To get further info and download the ISO visit <a href="http://inx.maincontent.net/" onclick="window.open(this.href); return false">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://quail.southernvaleslug.org/webblog/archives/97/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash keyboard shortcuts</title>
		<link>http://quail.southernvaleslug.org/webblog/archives/38</link>
		<comments>http://quail.southernvaleslug.org/webblog/archives/38#comments</comments>
		<pubDate>Fri, 23 Nov 2007 01:27:34 +0000</pubDate>
		<dc:creator>Quail</dc:creator>
				<category><![CDATA[Bash]]></category>

		<guid isPermaLink="false">http://quail.southernvaleslug.org/webblog/archives/38</guid>
		<description><![CDATA[CTRL Key Bound
Ctrl + a &#8211; Jump to the start of the line
Ctrl + b &#8211; Move back a char
Ctrl + c &#8211; Terminate the command
Ctrl + d &#8211; Delete from under the cursor
Ctrl + e &#8211; Jump to the end of the line
Ctrl + f &#8211; Move forward a char
Ctrl + k &#8211; Delete [...]]]></description>
			<content:encoded><![CDATA[<p><strong>CTRL Key Bound</strong><br />
<strong>Ctrl</strong> + <strong>a</strong> &#8211; Jump to the start of the line<br />
<strong>Ctrl</strong> + <strong>b</strong> &#8211; Move back a char<br />
<strong>Ctrl</strong> + <strong>c</strong> &#8211; Terminate the command<br />
<strong>Ctrl</strong> + <strong>d</strong> &#8211; Delete from under the cursor<br />
<strong>Ctrl</strong> + <strong>e</strong> &#8211; Jump to the end of the line<br />
<strong>Ctrl</strong> + <strong>f</strong> &#8211; Move forward a char<br />
<strong>Ctrl</strong> + <strong>k</strong> &#8211; Delete to EOL<br />
<strong>Ctrl</strong> + <strong>l</strong> &#8211; Clear the screen<br />
<strong>Ctrl</strong> + <strong>r</strong> &#8211; Search the history backwards<br />
<strong>Ctrl</strong> + <strong>R</strong> &#8211; Search the history backwards with multi occurrence<br />
<strong>Ctrl</strong> + <strong>u</strong> &#8211; Delete backward from cursor<br />
<strong>Ctrl</strong> + <strong>xx</strong> &#8211; Move between EOL and current cursor position<br />
<strong>Ctrl</strong> + <strong>x @</strong> &#8211; Show possible hostname completions<br />
<strong>Ctrl</strong> + <strong>z</strong> &#8211; Suspend/ Stop the command</p>
<p><strong>ALT Key Bound</strong><br />
<strong>Alt</strong> + <strong>< </strong> &#8211; Move to the first line in the history<br />
</strong><strong>Alt</strong> + <strong>></strong> &#8211; Move to the last line in the history<br />
<strong>Alt</strong> + <strong>?</strong> &#8211; Show current completion list<br />
<strong>Alt</strong> + <strong>*</strong> &#8211; Insert all possible completions<br />
<strong>Alt</strong> + <strong>/</strong> &#8211; Attempt to complete filename<br />
<strong>Alt</strong> + <strong>.</strong> &#8211; Yank last argument to previous command<br />
<strong>Alt</strong> + <strong>b</strong> &#8211; Move backward<br />
<strong>Alt</strong> + <strong>c</strong> &#8211; Capitalize the word<br />
<strong>Alt</strong> + <strong>d</strong> &#8211; Delete word<br />
<strong>Alt</strong> + <strong>f</strong> &#8211; Move forward<br />
<strong>Alt</strong> + <strong>l</strong> &#8211; Make word lowercase<br />
<strong>Alt</strong> + <strong>n</strong> &#8211; Search the history forwards non-incremental<br />
<strong>Alt</strong> + <strong>p</strong> &#8211; Search the history backwards non-incremental<br />
<strong>Alt</strong> + <strong>r</strong> &#8211; Recall command<br />
<strong>Alt</strong> + <strong>t</strong> &#8211; Move words around<br />
<strong>Alt</strong> + <strong>u</strong> &#8211; Make word uppercase<br />
<strong>Alt</strong> + <strong>backspace</strong> &#8211; Delete backward from cursor</p>
<p><strong>Special Keybindings</strong><br />
Here &#8220;2T&#8221; means Press TAB twice</p>
<p>$ <strong>2T</strong> &#8211; All available commands(common)<br />
$ <strong>(string)2T</strong> &#8211; All available commands starting with (string)<br />
$ <strong>/2T</strong> &#8211; Entire directory structure including Hidden one<br />
$ <strong>2T</strong> &#8211; Only Sub Dirs inside including Hidden one<br />
$ <strong>*2T</strong> &#8211; Only Sub Dirs inside without Hidden one<br />
$ <strong>~2T</strong> &#8211; All Present Users on system from &#8220;/etc/passwd&#8221;<br />
$ <strong>$2T</strong> &#8211; All Sys variables<br />
$ <strong>@2T</strong> &#8211; Entries from &#8220;/etc/hosts&#8221;<br />
$ <strong>=2T</strong> &#8211; Output like ls or dir</p>
]]></content:encoded>
			<wfw:commentRss>http://quail.southernvaleslug.org/webblog/archives/38/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash output piped into columns</title>
		<link>http://quail.southernvaleslug.org/webblog/archives/37</link>
		<comments>http://quail.southernvaleslug.org/webblog/archives/37#comments</comments>
		<pubDate>Mon, 03 Sep 2007 11:21:40 +0000</pubDate>
		<dc:creator>Quail</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://quail.southernvaleslug.org/webblog/archives/37</guid>
		<description><![CDATA[Sometimes, some commands output are not really readable.
Example :

$ mount

Readability can be improved by piping “mount” into the command “column”

$ mount &#124; column -t

]]></description>
			<content:encoded><![CDATA[<p>Sometimes, some commands output are not really readable.</p>
<p>Example :</p>
<blockquote><p>
$ mount
</p></blockquote>
<p>Readability can be improved by piping “mount” into the command “column”</p>
<blockquote><p>
$ mount | column -t
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://quail.southernvaleslug.org/webblog/archives/37/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
