<?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>hype-o-thetic?com &#187; bash</title>
	<atom:link href="http://hype-o-thetic.com/tag/bash/feed/" rel="self" type="application/rss+xml" />
	<link>http://hype-o-thetic.com</link>
	<description>my notes</description>
	<lastBuildDate>Sun, 29 Apr 2012 13:34:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>andyleonard.com &#8211; zfs-snapshot.sh</title>
		<link>http://hype-o-thetic.com/2011/03/22/andyleonard-com-zfs-snapshot-sh/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=andyleonard-com-zfs-snapshot-sh</link>
		<comments>http://hype-o-thetic.com/2011/03/22/andyleonard-com-zfs-snapshot-sh/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 02:16:48 +0000</pubDate>
		<dc:creator>gimpe</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[FreeNAS]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://hype-o-thetic.com/?p=691</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://hype-o-thetic.com/2011/03/22/andyleonard-com-zfs-snapshot-sh/' addthis:title='andyleonard.com &#8211; zfs-snapshot.sh ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>Here&#8217;s a nice script found on thinking sysadmin. I slightly modified it to use the real mount point instead of assuming &#8220;/&#8221;, my changes are highlighted below: Thanks Andy!<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://hype-o-thetic.com/2011/03/22/andyleonard-com-zfs-snapshot-sh/' addthis:title='andyleonard.com &#8211; zfs-snapshot.sh ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://hype-o-thetic.com/2011/03/22/andyleonard-com-zfs-snapshot-sh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FreeNAS Bash script to start a ZFS scrub on each pool (scrub.sh)</title>
		<link>http://hype-o-thetic.com/2009/08/28/freenas-bash-script-to-start-a-zfs-scrub-on-each-pool-scrub-sh/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=freenas-bash-script-to-start-a-zfs-scrub-on-each-pool-scrub-sh</link>
		<comments>http://hype-o-thetic.com/2009/08/28/freenas-bash-script-to-start-a-zfs-scrub-on-each-pool-scrub-sh/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 14:48:57 +0000</pubDate>
		<dc:creator>gimpe</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[FreeNAS]]></category>

		<guid isPermaLink="false">http://hype-o-thetic.com/?p=234</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://hype-o-thetic.com/2009/08/28/freenas-bash-script-to-start-a-zfs-scrub-on-each-pool-scrub-sh/' addthis:title='FreeNAS Bash script to start a ZFS scrub on each pool (scrub.sh) ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>This script will start a scrub on each ZFS pool (one at a time) and will send an e-mail or display the result when everyting is completed. I wrote this script to launch each scrub one after the other and &#8230; <a href="http://hype-o-thetic.com/2009/08/28/freenas-bash-script-to-start-a-zfs-scrub-on-each-pool-scrub-sh/">Continue reading <span class="meta-nav">&#8594;</span></a><div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://hype-o-thetic.com/2009/08/28/freenas-bash-script-to-start-a-zfs-scrub-on-each-pool-scrub-sh/' addthis:title='FreeNAS Bash script to start a ZFS scrub on each pool (scrub.sh) ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://hype-o-thetic.com/2009/08/28/freenas-bash-script-to-start-a-zfs-scrub-on-each-pool-scrub-sh/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Useful tools in an &#8220;embedded&#8221; FreeNAS: wget and bash</title>
		<link>http://hype-o-thetic.com/2009/08/04/useful-tools-in-an-embedded-freenas-wget-and-bash/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=useful-tools-in-an-embedded-freenas-wget-and-bash</link>
		<comments>http://hype-o-thetic.com/2009/08/04/useful-tools-in-an-embedded-freenas-wget-and-bash/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 12:38:23 +0000</pubDate>
		<dc:creator>gimpe</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[FreeNAS]]></category>

		<guid isPermaLink="false">http://hype-o-thetic.com/?p=149</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://hype-o-thetic.com/2009/08/04/useful-tools-in-an-embedded-freenas-wget-and-bash/' addthis:title='Useful tools in an &#8220;embedded&#8221; FreeNAS: wget and bash ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>wget To install wget on a &#8220;data&#8221; parition: export PKG_TMPDIR=/mnt/usb-data/temp pkg_add -r wget -P /mnt/usb-data/pkg Now we need a script to create the symlinks to the wget binaries in the “pkg” directory: nano /mnt/usb-data/hooks.sh Here’s the content: #!/bin/sh ln -s &#8230; <a href="http://hype-o-thetic.com/2009/08/04/useful-tools-in-an-embedded-freenas-wget-and-bash/">Continue reading <span class="meta-nav">&#8594;</span></a><div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://hype-o-thetic.com/2009/08/04/useful-tools-in-an-embedded-freenas-wget-and-bash/' addthis:title='Useful tools in an &#8220;embedded&#8221; FreeNAS: wget and bash ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://hype-o-thetic.com/2009/08/04/useful-tools-in-an-embedded-freenas-wget-and-bash/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Vim (Vi IMproved) in an &#8220;embedded&#8221; FreeNAS</title>
		<link>http://hype-o-thetic.com/2009/08/03/vim-in-freena/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vim-in-freena</link>
		<comments>http://hype-o-thetic.com/2009/08/03/vim-in-freena/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 13:38:16 +0000</pubDate>
		<dc:creator>gimpe</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[FreeNAS]]></category>

		<guid isPermaLink="false">http://hype-o-thetic.com/?p=116</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://hype-o-thetic.com/2009/08/03/vim-in-freena/' addthis:title='Vim (Vi IMproved) in an &#8220;embedded&#8221; FreeNAS ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>You need an embedded install with a data partition. My FreeNAS server runs from a 1GB usb stick and the data partition is mounted as &#8220;/mnt/usb-data&#8221;. To install Vim on the usb stick: # using csh setenv PKG_TMPDIR /mnt/usb-data/temp # &#8230; <a href="http://hype-o-thetic.com/2009/08/03/vim-in-freena/">Continue reading <span class="meta-nav">&#8594;</span></a><div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://hype-o-thetic.com/2009/08/03/vim-in-freena/' addthis:title='Vim (Vi IMproved) in an &#8220;embedded&#8221; FreeNAS ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://hype-o-thetic.com/2009/08/03/vim-in-freena/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu: ethtool permanent 1000baseTX full-duplex</title>
		<link>http://hype-o-thetic.com/2009/08/01/ubuntu-ethtool-permanent-1000basetx-full-duplex/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ubuntu-ethtool-permanent-1000basetx-full-duplex</link>
		<comments>http://hype-o-thetic.com/2009/08/01/ubuntu-ethtool-permanent-1000basetx-full-duplex/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 18:15:53 +0000</pubDate>
		<dc:creator>gimpe</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://hype-o-thetic.com/?p=180</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://hype-o-thetic.com/2009/08/01/ubuntu-ethtool-permanent-1000basetx-full-duplex/' addthis:title='Ubuntu: ethtool permanent 1000baseTX full-duplex ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>vi /etc/init.d/1000Mbs update-rc.d 1000Mbs defaults SOURCE: http://www.cyberciti.biz/tips/howto-linux-add-ethtool-duplex-settings-permanent.html<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://hype-o-thetic.com/2009/08/01/ubuntu-ethtool-permanent-1000basetx-full-duplex/' addthis:title='Ubuntu: ethtool permanent 1000baseTX full-duplex ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://hype-o-thetic.com/2009/08/01/ubuntu-ethtool-permanent-1000basetx-full-duplex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Backup using rsync and DeltaCopy</title>
		<link>http://hype-o-thetic.com/2009/02/18/windows-backup-using-rsync-and-deltacopy/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=windows-backup-using-rsync-and-deltacopy</link>
		<comments>http://hype-o-thetic.com/2009/02/18/windows-backup-using-rsync-and-deltacopy/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 20:36:20 +0000</pubDate>
		<dc:creator>gimpe</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[FreeNAS]]></category>

		<guid isPermaLink="false">http://hype-o-thetic.com/2009/02/18/windows-backup-using-rsync-and-deltacopy/</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://hype-o-thetic.com/2009/02/18/windows-backup-using-rsync-and-deltacopy/' addthis:title='Windows Backup using rsync and DeltaCopy ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>Use DeltaCopy (as rsync server) on the Windows box: http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp You&#8217;ll need to open port TCT/873 in your windows firewall. Note: To fix the accentuated characters issue in the filenames, you can replace the &#8220;Cygwin1.dll&#8221; in the DeltaCopy directory by &#8230; <a href="http://hype-o-thetic.com/2009/02/18/windows-backup-using-rsync-and-deltacopy/">Continue reading <span class="meta-nav">&#8594;</span></a><div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://hype-o-thetic.com/2009/02/18/windows-backup-using-rsync-and-deltacopy/' addthis:title='Windows Backup using rsync and DeltaCopy ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://hype-o-thetic.com/2009/02/18/windows-backup-using-rsync-and-deltacopy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 3/7 queries in 0.001 seconds using disk: basic
Object Caching 661/663 objects using disk: basic

Served from: hype-o-thetic.com @ 2012-05-19 03:05:47 -->
