<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>System Notes</title>
	
	<link>http://blog.systemnotes.org</link>
	<description>Help for System Administrators</description>
	<lastBuildDate>Thu, 01 Jul 2010 06:43:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SystemNotes" /><feedburner:info uri="systemnotes" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>SystemNotes</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Data Recovery: 5 Things You Must Know</title>
		<link>http://feedproxy.google.com/~r/SystemNotes/~3/W4axg9wWfUA/</link>
		<comments>http://blog.systemnotes.org/2010/06/data-recovery-5-things-you-must-know/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 23:04:00 +0000</pubDate>
		<dc:creator>scottm</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[data recovery]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://systemnotes.org/blog1b/?p=77</guid>
		<description><![CDATA[Hard drive data recovery is one of the most difficult tasks a sysadmin can attempt to perform, so it should be considered a last resort that, after many frustrating hours, may not even work at all. Data Recovery or Disaster Recovery can be thought of in several categories, and it is important to have a [...]]]></description>
			<content:encoded><![CDATA[<p>Hard drive data recovery is one of the most difficult tasks a sysadmin  can attempt to perform, so it should be considered a last resort that, after many frustrating hours, may not even work at all.  Data Recovery or Disaster Recovery can be thought of in several categories, and it is important to have a plan in place, and know the options before resorting to one of your local hard disk data recovery services.  Many people fail to consider the value of their data until it is too late.  This article discusses general principles, with some specific examples from experience with Novel, Microsoft, and Linux operating systems.  Detailed tool discussions will be reserved for separate posts.</p>
<p>Here is a short list of categories, roughly in order of increasing level of difficulty to recover.</p>
<ul>
<li> Backups and off-site storage</li>
<li> RAID</li>
<li> Documents</li>
<li> File Systems</li>
<li> Data Recovery from Hard Drives</li>
</ul>
<p>There is software available that can recover from several types of failures, but it does not always work when there is corruption, or failure of disk drives, media or other hardware.  Not only that, but recovery can cost hundreds of dollars for each disk, and is not guaranteed to recover any data.  This is why backups are essential.  If you are not a sysadmin, and just have a single computer to work on, there is probably some data that you consider important.  If nothing else, copy it to another location such as a USB drive, another computer, a CD, or an ftp site.</p>
<p><span style="font-weight: bold;">Reliable Backups</span></p>
<p>Obviously, when there are reliable backups, there should be little difficulty in restoring the data, but it may not be as easy as it sounds.  Some of the problems with backup and restore procedures could be:</p>
<ul>
<li>The data may be outdated.</li>
<li>The missing data may not have been backed up yet.</li>
<li>The tape or other media may fail.</li>
<li>The tape, or media may not be found because it was misfiled, mislabeled, or too old to keep.</li>
<li>The time lost in restoring data may be important.</li>
<li>The backup software may have failed, or not been setup properly.</li>
<li>Directories, drives, or systems may not have been selected to be backed up.</li>
<li>The backed up files may have been corrupted, or infected with a virus.</li>
</ul>
<p>An important part of disaster recovery is reliable backups.  How can the backups be verified?  Try a restore once in a while to make sure it is working properly.  I have seen restores fail when backed up on one file system, and restored to another.  The file was restored, but the data was corrupt.  It took a while to figure out, but when an Excel file was backed up from Netware and restored to NT some of the cells were corrupted.  Another time a problem was noticed when attempting to restore.  Some new directories had not been selected to be backed up.  Sometimes software will allow you to select directories, but will not automatically include subdirectories.  These are the types of things that should be tested by attempting to restore once in a while.</p>
<p><span style="font-weight: bold;">RAID Systems</span></p>
<p>One of the best inventions for sysadmins was the RAID system.  RAID, or a Redundant Array of Inexpensive Disks provides a means to quickly recover data in the event of a drive failure.  In normal operation, systems will use RAID 5, which includs three or more disks in an array.  When any one drive fails, the system continues to function normally, and the drive can be replaced at the leisure of the system administrator.  If it was on good hardware, there is usually no downtime.  The drive can be &#8220;hot-swapped&#8221;, meaning that the defective drive can be removed, the replacement drive inserted, and the array rebuilt &#8212; all without taking down the computer system.</p>
<p>Here is an example of how RAID arrays saved time when moving servers.  We had a couple dozen servers to move across town, and were concerned about the data on the drives as the servers were moved.  There were reliable weekly and daily backups, but the current day had not been backed up.  The standard tape backup process would take several hours.  The solution was to remove a drive from each system, and replace it with a spare.  How did that work?  Each system had a RAID 1 array, which consists of two mirrored SCSI drives.  Removing one drive gave us an instant backup that could be used to restore the array in case the other drive failed while being transported.  Replacing the drive with a spare caused the array to rebuild in a matter of minutes, so that there was even less chance of failure.  Of course we were careful in moving the hardware, and none of the drives failed, but we saved several hours of time-wasting tape backups.  All we had to do was reconnect the servers, and assign new IP&#8217;s of course, and then let the nightly tape backup continue as scheduled.</p>
<p><span style="font-weight: bold;">Document Autosave</span></p>
<p>Documents are in a little different category of data recovery, since we are discussing recovery of documents that have not been backed up by the daily backup process.  It is common to be working on a document during the day, and have backups run at night.  If there is a corruption, or crash while working on a new document, there may be a way to recover the most recent work.  We will look at vi as an example, but other text editing, and word processing software often have a similar feature.</p>
<p>Using Autosave in vi.</p>
<p>Documents are automatically saved in vi, but it is still a good idea to save your work as you go.  Simply type Esc:w! to save the current file.</p>
<p>Try this.  Open a file, and type some text.</p>
<p>$vi test.txt<br />i<br />This is a test<br />Esc:wq!</p>
<p>Now look at the directory.</p>
<p>$ ls -a<br />.  ..  .test.txt.swp  test.txt  test.txt~</p>
<p>Notice that there is a hidden swap file, your original file, and a backup file.  Vi will automatically delete the file on exit, or use the file, if it still exists the next time you open the original file.  The file ending with a tilde ~ is the auto-save version of the file, which may or may not have the latest data in case of a crash.</p>
<p><span style="font-weight: bold;">File Systems</span></p>
<p>File system integrity can be handled with several utilities, each of which could have a discussion of their own.</p>
<p>One of the most commonly used Linux utilities is fsck.  The fsck utility will run automatically at boot up if it detects that it has not been run in a while, or if the system was not shut down properly.  More advanced users will need to learn this and other utilities which can be run on unmounted file systems, often from a boot disk.  Be careful about running fsck on mounted drives, or RAID arrays.</p>
<p><span style="font-weight: bold;">Data Recovery Software and Services</span></p>
<p>Before resorting to a data recovery service, it may be worth the time to look for some software that can recover the data you need.  A data recovery service can be helpful when there is no other way to retrieve the data.  They are able to open drives that do not spin, and read them with a microscope, but the process can cost thousands of dollars.  If the data can be recovered by using software, the recovery service may be able to restore the data for a few hundred dollars.  Wait a minute.  If they are using software, can&#8217;t I do the same thing?  The short answer is &#8211; maybe.  Some software is free, and some costs several hundred to several thousand dollars.  As our readers know, we love free open source software.  The first thing to try is some of the recovery software, and boot disks listed on <a href="http://freshmeat.net/">freshmeat.net</a>.  Then search for data recovery software on search engines such as google, bing, or yahoo.  If the free ones don&#8217;t work, some of the other might do the trick, but the free software should at least show that a partition exists on the drive, and that there might be something to recover.  Rem<br />
ember, if the hardware is noisy, or unreliable, it is best to take it to a data recovery service, and not keep it powered on.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.systemnotes.org%2F2010%2F06%2Fdata-recovery-5-things-you-must-know%2F&amp;linkname=Data%20Recovery%3A%205%20Things%20You%20Must%20Know"><img src="http://blog.systemnotes.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>
<p><a href="http://feedads.g.doubleclick.net/~a/1pOOzHC9_QCTEDGv4NtY4KtOqT8/0/da"><img src="http://feedads.g.doubleclick.net/~a/1pOOzHC9_QCTEDGv4NtY4KtOqT8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/1pOOzHC9_QCTEDGv4NtY4KtOqT8/1/da"><img src="http://feedads.g.doubleclick.net/~a/1pOOzHC9_QCTEDGv4NtY4KtOqT8/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/SystemNotes/~4/W4axg9wWfUA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.systemnotes.org/2010/06/data-recovery-5-things-you-must-know/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.systemnotes.org/2010/06/data-recovery-5-things-you-must-know/</feedburner:origLink></item>
		<item>
		<title>nagios-config-build Released</title>
		<link>http://feedproxy.google.com/~r/SystemNotes/~3/rl4o_IHq7rc/</link>
		<comments>http://blog.systemnotes.org/2009/12/nagios-config-build-released/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 06:50:00 +0000</pubDate>
		<dc:creator>scottm</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://systemnotes.org/blog1b/?p=76</guid>
		<description><![CDATA[I wrote some shell scripts to generate Nagios configuration files, and I finally decided to publish them on Freshmeat. The initial version is crude, and has some hard-coded information, but it is still better than trying to edit the .cfg files by hand.Here is a brief descriptionnagios-config-build is a group of shell scripts that generate [...]]]></description>
			<content:encoded><![CDATA[<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_R7E8CEdseRg/SM8C1KRC7ZI/AAAAAAAAAaI/qupunscwKmk/s1600-h/scallop_shell.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 63px; height: 63px;" src="http://4.bp.blogspot.com/_R7E8CEdseRg/SM8C1KRC7ZI/AAAAAAAAAaI/qupunscwKmk/s200/scallop_shell.png" alt="" id="BLOGGER_PHOTO_ID_5246415203222089106" border="0" /></a>I wrote some shell scripts to generate <a href="http://www.nagios.org/">Nagios</a> configuration files, and I finally decided to publish them on <a href="http://freshmeat.net/">Freshmeat</a>.  The initial version is crude, and has some hard-coded information, but it is still better than trying to edit the .cfg files by hand.<br /><span style="font-weight: bold;"><br />Here is a brief description<br /></span><br />nagios-config-build is a group of shell scripts that generate Nagios configuration files from a list of hostnames. It automatically resolves IP addresses from DNS, and provides a quick way to manage a large number of hosts without having to set up a complicated system.</p>
<p>Nagios is more than just a server monitoring tool.  From the Nagios website: &#8220;<strong>Nagios is a powerful monitoring system that enables  organizations to identify and resolve IT infrastructure problems before  they affect critical business processes.&#8221;</strong></p>
<p>Systemnotes.org download:<br /><a href="http://www.systemnotes.org/download/shell/nagios-config-build.html" rel="nofollow">http://www.systemnotes.org/download/shell/nagios-config-build.html</a></p>
<p>Freshmeat project: <a href="http://freshmeat.net/projects/nagios-config-build">http://freshmeat.net/projects/nagios-config-build</a></p>
<p>Please feel free to use this blog post for comments, or questions.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.systemnotes.org%2F2009%2F12%2Fnagios-config-build-released%2F&amp;linkname=nagios-config-build%20Released"><img src="http://blog.systemnotes.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>
<p><a href="http://feedads.g.doubleclick.net/~a/QquJR3i-IL68GpHkYUaM5RMZVtk/0/da"><img src="http://feedads.g.doubleclick.net/~a/QquJR3i-IL68GpHkYUaM5RMZVtk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/QquJR3i-IL68GpHkYUaM5RMZVtk/1/da"><img src="http://feedads.g.doubleclick.net/~a/QquJR3i-IL68GpHkYUaM5RMZVtk/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/SystemNotes/~4/rl4o_IHq7rc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.systemnotes.org/2009/12/nagios-config-build-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.systemnotes.org/2009/12/nagios-config-build-released/</feedburner:origLink></item>
		<item>
		<title>How to Record and Play in Vim</title>
		<link>http://feedproxy.google.com/~r/SystemNotes/~3/1v7PPzJ_uQI/</link>
		<comments>http://blog.systemnotes.org/2009/12/how-to-record-and-play-in-vim/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 19:55:00 +0000</pubDate>
		<dc:creator>scottm</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://systemnotes.org/blog1b/?p=75</guid>
		<description><![CDATA[Have you ever been in the middle of editing something in vim, and noticed &#8220;recording&#8221; on the lower left of the screen? If you were in a hurry, you probably just continued typing, and thought, maybe I&#8217;ll use that feature some day, but as long as it lets me continue I won&#8217;t worry about it. [...]]]></description>
			<content:encoded><![CDATA[<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_R7E8CEdseRg/R6GF8Qz3ddI/AAAAAAAAAUk/tqcybjXz2fM/s1600-h/vim-editor_logo.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 63px; height: 63px;" src="http://bp3.blogger.com/_R7E8CEdseRg/R6GF8Qz3ddI/AAAAAAAAAUk/tqcybjXz2fM/s200/vim-editor_logo.png" alt="" id="BLOGGER_PHOTO_ID_5161553918294455762" border="0" /></a>Have you ever been in the middle of editing something in vim, and noticed &#8220;recording&#8221; on the lower left of the screen?  If you were in a hurry, you probably just continued typing, and thought, maybe I&#8217;ll use that feature some day, but as long as it lets me continue I won&#8217;t worry about it.  Well it&#8217;s really quite simple to use once you know the sequence.</p>
<p>Here is a high level overview on how to use the macro recording feature of vim.</p>
<p><span style="font-weight: bold;font-size:130%;" >High Level Steps to Record and Play a Macro in Vim</span></p>
<p>1. Press q to Start recording, followed by a lower case character to name the macro.<br />2. Perform any typical editing, actions inside Vim editor, which will be recorded.<br />3. Stop recording by pressing q.<br />4. Play the recorded macro by pressing @ followed by the macro name.<br />5. To repeat a macro multiple times, press : n @ macro name, where n is a number.</p>
<p>For more details, check out a complete tutorial at thegeekstuff.com: <a href="http://www.thegeekstuff.com/2009/01/vi-and-vim-macro-tutorial-how-to-record-and-play/">Vim Macro Tutorial: How To Record and Play</a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.systemnotes.org%2F2009%2F12%2Fhow-to-record-and-play-in-vim%2F&amp;linkname=How%20to%20Record%20and%20Play%20in%20Vim"><img src="http://blog.systemnotes.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>
<p><a href="http://feedads.g.doubleclick.net/~a/zMfW4sPO8XMxiHVVvAhabsAthfA/0/da"><img src="http://feedads.g.doubleclick.net/~a/zMfW4sPO8XMxiHVVvAhabsAthfA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/zMfW4sPO8XMxiHVVvAhabsAthfA/1/da"><img src="http://feedads.g.doubleclick.net/~a/zMfW4sPO8XMxiHVVvAhabsAthfA/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/SystemNotes/~4/1v7PPzJ_uQI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.systemnotes.org/2009/12/how-to-record-and-play-in-vim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.systemnotes.org/2009/12/how-to-record-and-play-in-vim/</feedburner:origLink></item>
		<item>
		<title>Bash Shell, X, &amp; Firefox Shortcuts</title>
		<link>http://feedproxy.google.com/~r/SystemNotes/~3/XgxlDJOEV8o/</link>
		<comments>http://blog.systemnotes.org/2009/12/bash-shell-x-firefox-shortcuts/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 00:44:00 +0000</pubDate>
		<dc:creator>scottm</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Xwindows]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[shortcut]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://systemnotes.org/blog1b/?p=74</guid>
		<description><![CDATA[As I was writing a script, I noticed that I pressed Shift-PageUp without even thinking about it. Then I realized that there are a lot of shortcuts we take for granted as Sysadmins. I thought it would be helpful to share some of them. This is not a comprehensive list, but a few shortcuts I [...]]]></description>
			<content:encoded><![CDATA[<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_R7E8CEdseRg/SM8C1KRC7ZI/AAAAAAAAAaI/qupunscwKmk/s1600-h/scallop_shell.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 63px; height: 63px;" src="http://4.bp.blogspot.com/_R7E8CEdseRg/SM8C1KRC7ZI/AAAAAAAAAaI/qupunscwKmk/s200/scallop_shell.png" alt="" id="BLOGGER_PHOTO_ID_5246415203222089106" border="0" /></a>As I was writing a script, I noticed that I pressed Shift-PageUp without even thinking about it.  Then I realized that there are a lot of shortcuts we take for granted as Sysadmins.  I thought it would be helpful to share some of them.</p>
<p>This is not a comprehensive list, but a few shortcuts I find myself using all the time.</p>
<p><span style="font-weight: bold;">Bash Shell shortcuts</span>
<ul>
<li>Shift-PageUp / PageDown <span style="margin-left: 10px; padding-left: 10px;"> See more of the screen</span></li>
<p>
<li>Ctrl-a, Ctrl-e<span style="margin-left: 40px; padding-left: 10px;">                 Move to beginning / end of line</span></li>
<p>
<li>up &amp; down arrows<span style="margin-left: 30px; padding-left: 10px;">         See bash history</span></li>
<p>
<li>!! / !$<span style="margin-left: 40px; padding-left: 10px;">                           Execute the previous command / parameter</span></li>
<p>
<li>!n<span style="margin-left: 50px;">                                  Execute the nth command in history</span></li>
<p>
<li>Ctrl-D                              <span style="margin-left: 30px;"> Logout, or exit</span></li>
<p>
<li>Ctrl-u, Ctrl-h, Ctrl-b     <span style="margin-left: 30px;"> Delete previous char, or entire line</span></li>
<p>
<li>Alt-F1 to Alt-F7           <span style="margin-left: 40px;"> Switch to another console</span></li>
<p>
<li>—see also: <a href="http://systemnotesorg.blogspot.com/2007/05/using-bash-history.html">using-bash-history</a>, and all <a href="http://systemnotesorg.blogspot.com/search/label/bash">bash posts</a></li>
<p></ul>
<p><span style="font-weight: bold;">X shortcuts</span>
<ul>
<li>Ctrl-Alt-Backspace <span style="margin-left: 30px;">Force X to reset</span></li>
<p>
<li>Alt-tab <span style="margin-left: 50px; padding-left: 10px;">Switch to a different application</span></li>
<p>
<li>gnome-terminal:
<ul>
<li>Ctrl-Shift-t <span style="margin-left: 50px; padding-left: 10px;">Open a new tab</span></li>
<p>
<li>Ctrl-PageUp / PageDown <span style="margin-left: 30px; padding-left: 10px;">Switch between terms</span>             </li>
<p>
<li>(Ctrl)-Alt-F1 to F7 <span style="margin-left: 40px; padding-left: 10px;">Switch to another console (Ctrl while in X)</span></li>
<p></ul>
</li>
<p></ul>
<p><span style="font-weight: bold;">Firefox shortcuts</span>
<ul>
<li>Ctrl-Click / Shift-Click<span style="margin-left: 40px; padding-left: 10px;">Open link in new tab / window</span></li>
<p>
<li>Ctrl-PageDown <span style="margin-left: 30px; padding-left: 10px;">Goto next tab</span></li>
<p>
<li>Ctrl-t <span style="margin-left: 50px; padding-left: 10px;">New tab</span></li>
<p>
<li>Alt-Home <span style="margin-left: 40px; padding-left: 10px;">Goto home page</span></li>
<p>
<li>Esc <span style="margin-left: 50px; padding-left: 10px;">Stop flash animations from playing</span></li>
<p>
<li>Ctrl-Shift-t <span style="margin-left: 40px; padding-left: 10px;">Re-open a Recently Closed tab</span></li>
</ul>
<p>There is a nice shortcut list at linuxhelp.blogspot.com, organized by key bindings <a href="http://linuxhelp.blogspot.com/2005/08/bash-shell-shortcuts.html">http://linuxhelp.blogspot.com/2005/08/bash-shell-shortcuts.html</a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.systemnotes.org%2F2009%2F12%2Fbash-shell-x-firefox-shortcuts%2F&amp;linkname=Bash%20Shell%2C%20X%2C%20%26amp%3B%20Firefox%20Shortcuts"><img src="http://blog.systemnotes.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>
<p><a href="http://feedads.g.doubleclick.net/~a/0efR5609-sdqmOmMbRzkZ_lkkYA/0/da"><img src="http://feedads.g.doubleclick.net/~a/0efR5609-sdqmOmMbRzkZ_lkkYA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/0efR5609-sdqmOmMbRzkZ_lkkYA/1/da"><img src="http://feedads.g.doubleclick.net/~a/0efR5609-sdqmOmMbRzkZ_lkkYA/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/SystemNotes/~4/XgxlDJOEV8o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.systemnotes.org/2009/12/bash-shell-x-firefox-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.systemnotes.org/2009/12/bash-shell-x-firefox-shortcuts/</feedburner:origLink></item>
		<item>
		<title>Bash Alias</title>
		<link>http://feedproxy.google.com/~r/SystemNotes/~3/Q8fGP-54VVY/</link>
		<comments>http://blog.systemnotes.org/2009/12/bash-alias/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 00:22:00 +0000</pubDate>
		<dc:creator>scottm</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://systemnotes.org/blog1b/?p=73</guid>
		<description><![CDATA[An alias is a built-in way of modifying the way a command works, or it is used as a shortcut for another command. For example, you may find that you often type &#8220;ls -l&#8221;, or &#8220;ls -ltr&#8221;, and think it would be nice if you could type less characters. You can create an alias, so [...]]]></description>
			<content:encoded><![CDATA[<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_R7E8CEdseRg/SM8C1KRC7ZI/AAAAAAAAAaI/qupunscwKmk/s1600-h/scallop_shell.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 63px; height: 63px;" src="http://4.bp.blogspot.com/_R7E8CEdseRg/SM8C1KRC7ZI/AAAAAAAAAaI/qupunscwKmk/s200/scallop_shell.png" alt="" id="BLOGGER_PHOTO_ID_5246415203222089106" border="0" /></a>An alias is a built-in way of modifying the way a command works, or it is used as a shortcut for another command.  For example, you may find that you often type &#8220;ls -l&#8221;, or &#8220;ls -ltr&#8221;, and think it would be nice if you could type less characters.  You can create an alias, so that all you would have to type is &#8220;ll&#8221;, instead of &#8220;ls -l.&#8221;</p>
<p>To add an alias to your .bashrc file:</p>
<p><span style="font-weight: bold;">$ vi ~/.bashrc</span></p>
<p>Insert these lines:</p>
<p><span style="font-weight: bold;"> alias ls=&#8217;ls &#8211;color=tty&#8217;</p>
<p></span><span style="font-weight: bold;"> alias ll=&#8217;ls -l&#8217;</span></p>
<p>In order for the new alias to take effect, you can open a new console, login again, or simply source your .bashrc file.  You also have the option of running bash again to open a new shell, or just running the alias command.  What do I mean by source the file?  You can either run a script, or have the shell read the variables in a script without actually running it.  This is called sourcing a file, and is accomplished by typing either &#8220;source&#8221;, or &#8220;.&#8221;  followed by the file to source, e.g.</p>
<p><span style="font-weight: bold;">$ source ~/.bashrc</span></p>
<p>or</p>
<p><span style="font-weight: bold;">$ . ~/.bashrc</span></p>
<p>Sometimes the word source is easier to read than a dot, but either method will work fine.</p>
<p>Note that you don&#8217;t need to be root to access your home directory.  &#8220;~/&#8221; is a shortcut for wherever your home directory happens to be (e.g. /mountpoint/home/me, or /home/users/someone).  Also, the dot &#8220;.&#8221; is used for hidden files, so if you do</p>
<p><span style="font-weight: bold;">$ ls ~/ </span></p>
<p>it won&#8217;t show up, but if you do</p>
<p><span style="font-weight: bold;">$ ls -a ~/ </span></p>
<p>it will.</p>
<p>There are some common aliases you may have by default. To view your current aliases, type alias by itself, or &#8220;alias -p&#8221;:</p>
<p><span style="font-weight: bold;">$ alias -p</span><br />alias cp=&#8217;cp -i&#8217;<br />alias l.=&#8217;ls -d .* &#8211;color=tty&#8217;<br />alias ll=&#8217;ls -l &#8211;color=tty&#8217;<br />alias ls=&#8217;ls &#8211;color=tty&#8217;<br />alias mv=&#8217;mv -i&#8217;<br />alias rm=&#8217;rm -i&#8217;<br />alias vi=&#8217;vim&#8217;</p>
<p><span style="font-size:130%;"><span style="font-weight: bold;">Other Uses</span></span></p>
<p>&#8220;What else can this be used for?&#8221;, you ask.  Anything you use often enough &#8212; usually something smaller than a script, but too long to type frequently.  How about changing to a common directory?  Of course, to go home, type:</p>
<p><span style="font-weight: bold;">$ cd</span></p>
<p>To go to the previous directory, type:</p>
<p><span style="font-weight: bold;">$ cd -</span></p>
<p>Maybe you would like something like &#8220;sales&#8221; to take you to /home/dept/sales.</p>
<p>alias sales=&#8217;cd /home/dept/sales&#8217;<br /><span style="font-size:130%;"></p>
<p><span style="font-weight: bold;">Unalias</span></span></p>
<p>What happens if you make a mistake, or you use your account on a host that has a shell that does not support your alias?  For example, you log into a sun box, and the ls alias is not valid.  The quick fix is to simply run &#8220;unalias ls.&#8221;</p>
<p>So, go have some fun with aliases.  Here are a few ideas to try:</p>
<p>alias h=&#8217;hostname&#8217;<br />alias myprogram=&#8217;/usr/local/bin/myprogram&#8217;<br />alias taillog=&#8217;tail -f /var/log/messages&#8217;<br />alias which=&#8217;alias | /usr/bin/which &#8211;tty-only &#8211;read-alias &#8211;show-dot &#8211;show-tilde&#8217;</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.systemnotes.org%2F2009%2F12%2Fbash-alias%2F&amp;linkname=Bash%20Alias"><img src="http://blog.systemnotes.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>
<p><a href="http://feedads.g.doubleclick.net/~a/vUTbSxfwiycOPRPQNfhLgXM7r9k/0/da"><img src="http://feedads.g.doubleclick.net/~a/vUTbSxfwiycOPRPQNfhLgXM7r9k/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/vUTbSxfwiycOPRPQNfhLgXM7r9k/1/da"><img src="http://feedads.g.doubleclick.net/~a/vUTbSxfwiycOPRPQNfhLgXM7r9k/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/SystemNotes/~4/Q8fGP-54VVY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.systemnotes.org/2009/12/bash-alias/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.systemnotes.org/2009/12/bash-alias/</feedburner:origLink></item>
		<item>
		<title>Reset a Frozen SSH Session</title>
		<link>http://feedproxy.google.com/~r/SystemNotes/~3/MXZOgn1Qr2E/</link>
		<comments>http://blog.systemnotes.org/2009/09/reset-a-frozen-ssh-session/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 22:28:00 +0000</pubDate>
		<dc:creator>scottm</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://systemnotes.org/blog1b/?p=72</guid>
		<description><![CDATA[I mentioned previously that you can reset a shell by typing &#8220;reset.&#8221; There is another problem that can cause a shell or xterm to freeze. If you ssh to a remote host, and then logout, sometimes the session will freeze. In that case, all you need to do is type &#8220;Enter&#8221;, &#8220;~&#8221;, &#8220;.&#8221; (Enter, Tilde, [...]]]></description>
			<content:encoded><![CDATA[<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_R7E8CEdseRg/SM8C1KRC7ZI/AAAAAAAAAaI/qupunscwKmk/s1600-h/scallop_shell.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 63px; height: 63px;" src="http://4.bp.blogspot.com/_R7E8CEdseRg/SM8C1KRC7ZI/AAAAAAAAAaI/qupunscwKmk/s200/scallop_shell.png" alt="" id="BLOGGER_PHOTO_ID_5246415203222089106" border="0" /></a>I mentioned previously that you can <a href="http://systemnotesorg.blogspot.com/2007/11/shell-console-reset.html">reset a shell</a> by typing &#8220;reset.&#8221;</p>
<p>There is another problem that can cause a shell or xterm to freeze.  If you ssh to a remote host, and then logout, sometimes the session will freeze.  In that case, all you need to do is type &#8220;Enter&#8221;, &#8220;~&#8221;, &#8220;.&#8221; (Enter, Tilde, Dot with no spaces) to get the console back.  That&#8217;s the Enter key, immediately followed by tilde &#8220;~&#8221;, and then a period &#8220;.&#8221;</p>
<p><span style="font-weight: bold;">  [Enter]~.</span></p>
<p>Also, a convenient way to exit a shell, xterm, or remote ssh terminal is to use Ctrl-D rather than taking the time to type the word &#8220;exit.&#8221;</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.systemnotes.org%2F2009%2F09%2Freset-a-frozen-ssh-session%2F&amp;linkname=Reset%20a%20Frozen%20SSH%20Session"><img src="http://blog.systemnotes.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>
<p><a href="http://feedads.g.doubleclick.net/~a/g7a0-lxL03NvzCtQ6Sw8bC8ef0k/0/da"><img src="http://feedads.g.doubleclick.net/~a/g7a0-lxL03NvzCtQ6Sw8bC8ef0k/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/g7a0-lxL03NvzCtQ6Sw8bC8ef0k/1/da"><img src="http://feedads.g.doubleclick.net/~a/g7a0-lxL03NvzCtQ6Sw8bC8ef0k/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/SystemNotes/~4/MXZOgn1Qr2E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.systemnotes.org/2009/09/reset-a-frozen-ssh-session/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.systemnotes.org/2009/09/reset-a-frozen-ssh-session/</feedburner:origLink></item>
		<item>
		<title>Script to Unlock Firefox</title>
		<link>http://feedproxy.google.com/~r/SystemNotes/~3/xA52HZ2zCu0/</link>
		<comments>http://blog.systemnotes.org/2009/09/script-to-unlock-firefox/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 18:46:00 +0000</pubDate>
		<dc:creator>scottm</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://systemnotes.org/blog1b/?p=71</guid>
		<description><![CDATA[I wrote a script to unlock Firefox on a linux machine. The symptom is when firefox is not running, but it won&#8217;t let you start because it thinks it&#8217;s still running. If you have already run &#8220;pkill -9 –f firefox&#8221;, then all you have to do is delete the lock files &#8212; .parentlock, and lock. [...]]]></description>
			<content:encoded><![CDATA[<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_R7E8CEdseRg/R6GGjwz3deI/AAAAAAAAAUs/s0i2iHJ4umY/s1600-h/firefox.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 72px; height: 72px;" src="http://bp1.blogger.com/_R7E8CEdseRg/R6GGjwz3deI/AAAAAAAAAUs/s0i2iHJ4umY/s200/firefox.png" alt="" id="BLOGGER_PHOTO_ID_5161554596899288546" border="0" /></a>I wrote a script to unlock Firefox on a linux machine.  The symptom is when firefox is not running, but it won&#8217;t let you start because it thinks it&#8217;s still running.  If you have already run &#8220;pkill -9 –f firefox&#8221;, then all you have to do is delete the lock files &#8212;  .parentlock, and lock.
<p>This is user specific, so you&#8217;ll have to find your own home directory under  ~/.mozilla/firefox/.  Mine is dz4bq7je.scottm on this host.</p>
<p>$ <span style="font-weight: bold;">cat ~/bin/unlock_firefox.sh</span><br /><span style="font-weight: bold;">#!/bin/sh</span><br /><span style="font-weight: bold;">rm ~/.mozilla/firefox/dz4bq7je.scottm/.parentlock</span><br /><span style="font-weight: bold;">rm ~/.mozilla/firefox/dz4bq7je.scottm/lock</span><br />$<span style="font-weight: bold;"> ll ~/.mozilla/firefox/</span><br /><span style="font-weight: bold;">total 12</span><br /><span style="font-weight: bold;">drwx&#8212;&#8212;    9 scottm   users        4096 Sep  9 11:25 dz4bq7je.scottm</span><br /><span style="font-weight: bold;">-rw&#8212;&#8212;-    1 scottm   users        1264 Jun 23  2008 pluginreg.dat</span><br /><span style="font-weight: bold;">-rw-r&#8211;r&#8211;    1 scottm   users         162 Nov 15  2005 profiles.ini</span><br />$</p>
<p>The advantage of this simple script is that you don&#8217;t have to go looking for directories and files, or remember where firefox puts them.  Just remember when it&#8217;s locked, look for your unlock script.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.systemnotes.org%2F2009%2F09%2Fscript-to-unlock-firefox%2F&amp;linkname=Script%20to%20Unlock%20Firefox"><img src="http://blog.systemnotes.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>
<p><a href="http://feedads.g.doubleclick.net/~a/_pKKRm4odlMXTIKmwwt38WADBG8/0/da"><img src="http://feedads.g.doubleclick.net/~a/_pKKRm4odlMXTIKmwwt38WADBG8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/_pKKRm4odlMXTIKmwwt38WADBG8/1/da"><img src="http://feedads.g.doubleclick.net/~a/_pKKRm4odlMXTIKmwwt38WADBG8/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/SystemNotes/~4/xA52HZ2zCu0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.systemnotes.org/2009/09/script-to-unlock-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.systemnotes.org/2009/09/script-to-unlock-firefox/</feedburner:origLink></item>
		<item>
		<title>How to use BCC in Yahoo Mail Classic</title>
		<link>http://feedproxy.google.com/~r/SystemNotes/~3/mPT2tMTbTvs/</link>
		<comments>http://blog.systemnotes.org/2009/08/how-to-use-bcc-in-yahoo-mail-classic/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 07:24:00 +0000</pubDate>
		<dc:creator>scottm</dc:creator>
				<category><![CDATA[Spam Protection]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://systemnotes.org/blog1b/?p=70</guid>
		<description><![CDATA[Here is a quick example of how to use BCC in Yahoo Mail Classic. The idea is similar in many different email programs. Easy Two Step Process There are two simple steps to help your recipients avoid getting flooded with spam. 1.) Enable the Bcc feature 2.) Use &#8220;Bcc:&#8221; instead of &#8220;To:&#8221; whenever sending mail [...]]]></description>
			<content:encoded><![CDATA[<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://lh3.google.com/systemnotes/R6KcUQz3dgI/AAAAAAAAAU8/dh4Efu68l6k/s144/electronic_mail.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 128px; height: 90px;" src="http://lh3.google.com/systemnotes/R6KcUQz3dgI/AAAAAAAAAU8/dh4Efu68l6k/s144/electronic_mail.png" alt="" border="0" /></a>Here is a quick example of how to use BCC in Yahoo Mail Classic.</p>
<p>The idea is similar in many different email programs.</p>
<p><span style="font-size:130%;"><span style="font-weight: bold;">Easy Two Step Process</span></span></p>
<p>There are two simple steps to help your recipients  avoid getting flooded with spam.</p>
<p>1.) Enable the Bcc feature</p>
<p>2.) Use &#8220;Bcc:&#8221; instead of &#8220;To:&#8221; whenever sending mail to multiple recipients.</p>
<p><span style="font-size:130%;"><span style="font-weight: bold;">Screen Shots</span></span></p>
<p>Step 1.) Find and Enable the Bcc feature</p>
<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_R7E8CEdseRg/SoPDdfGsL0I/AAAAAAAAD2g/wCG0GToCz_k/s1600-h/showbccyahoo.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 400px; height: 325px;" src="http://3.bp.blogspot.com/_R7E8CEdseRg/SoPDdfGsL0I/AAAAAAAAD2g/wCG0GToCz_k/s400/showbccyahoo.png" alt="" id="BLOGGER_PHOTO_ID_5369350092088946498" border="0" /></a></p>
<p>Step 2.) Use Bcc:</p>
<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_R7E8CEdseRg/SoPDraLoDMI/AAAAAAAAD2o/kSK2PahQ4nY/s1600-h/enterbccyahoo.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 400px; height: 389px;" src="http://3.bp.blogspot.com/_R7E8CEdseRg/SoPDraLoDMI/AAAAAAAAD2o/kSK2PahQ4nY/s400/enterbccyahoo.png" alt="" id="BLOGGER_PHOTO_ID_5369350331285638338" border="0" /></a></p>
<p>That&#8217;s all there is to it!  You&#8217;ll be saving your friends from tons of unwanted emails by keeping their email addresses private.</p>
<p>For more details on why BCC is important, please see this article:</p>
<p><a href="http://systemnotesorg.blogspot.com/2008/02/bcc-howto.html">http://systemnotesorg.blogspot.com/2008/02/bcc-howto.html</a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.systemnotes.org%2F2009%2F08%2Fhow-to-use-bcc-in-yahoo-mail-classic%2F&amp;linkname=How%20to%20use%20BCC%20in%20Yahoo%20Mail%20Classic"><img src="http://blog.systemnotes.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>
<p><a href="http://feedads.g.doubleclick.net/~a/9REWdCLzzzz-4GIEM2Zg_NIcib0/0/da"><img src="http://feedads.g.doubleclick.net/~a/9REWdCLzzzz-4GIEM2Zg_NIcib0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/9REWdCLzzzz-4GIEM2Zg_NIcib0/1/da"><img src="http://feedads.g.doubleclick.net/~a/9REWdCLzzzz-4GIEM2Zg_NIcib0/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/SystemNotes/~4/mPT2tMTbTvs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.systemnotes.org/2009/08/how-to-use-bcc-in-yahoo-mail-classic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.systemnotes.org/2009/08/how-to-use-bcc-in-yahoo-mail-classic/</feedburner:origLink></item>
		<item>
		<title>RHCE Flash Cards</title>
		<link>http://feedproxy.google.com/~r/SystemNotes/~3/9XTinRhriNI/</link>
		<comments>http://blog.systemnotes.org/2009/07/rhce-flash-cards/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 20:53:00 +0000</pubDate>
		<dc:creator>scottm</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RHCE]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://systemnotes.org/blog1b/?p=69</guid>
		<description><![CDATA[I came up with some flashcards based on commonly used redhat linux commands. Here is my working draft. RHCE-Flash-Cards These notes should be helpful to anyone working on Redhat Enterprise Linux (RHEL), or preparing for the RHCE exam. My RHCE Study Guide was hugely popular, but unfortunately it had some potential copyright issues. This group [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://2.bp.blogspot.com/_R7E8CEdseRg/SnIOT_S2X4I/AAAAAAAAD1w/aH7Foaigrpc/s1600-h/penguinsm.gif" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5364365842722480002" style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 78px; height: 85px;" src="http://2.bp.blogspot.com/_R7E8CEdseRg/SnIOT_S2X4I/AAAAAAAAD1w/aH7Foaigrpc/s200/penguinsm.gif" border="0" alt="" /></a>I came up with some flashcards based on commonly used redhat linux commands.  Here is my working draft.</p>
<p><a rel="nofollow" href="http://www.systemnotes.org/linux/RHCE-Flash-Cards/RHCE-Flash-Cards.html"><span class="caps">RHCE</span>-Flash-Cards</a></p>
<p>These notes should be helpful to anyone working on Redhat Enterprise Linux (RHEL), or preparing for the RHCE exam.</p>
<p>My RHCE Study Guide was hugely popular, but unfortunately it had some potential copyright issues.  This group of flashcards has also been released as a quick study guide, or cheat sheet, and contains much of the same original study guide material, but with all proprietary information removed.  This 3-page guide is listed as <a rel="nofollow" href="http://www.systemnotes.org/download/rhce/RHCE-Flash-Cards.pdf">RHCE Flash Cards (condensed version)</a></p>
<h3>How These Slides Were Created</h3>
<p>These slides were produced using OpenOffice.org Impress.</p>
<ol>
<li>Created Slides</li>
<li>Saved as html</li>
<li>Copied contents of html between body tags to .page files.
<ul>
<li>Used a bash shell script with sed, and awk to get the files to appear properly for webgen.  See script here—<a rel="nofollow" href="http://www.systemnotes.org/linux/RHCE-Flash-Cards/html2page.html">html2page.html</a></li>
</ul>
</li>
<li>Ran <a href="http://webgen.rubyforge.org/">webgen</a> on the directory to generate .html</li>
</ol>
<p>Also .pdf files were saved from Openoffice.org Writer, which not only is free software, but also allows writing of .pdf files &#8212; also for free.  Isn&#8217;t open source software great?</p>
<h3>Let us know what you think.</h3>
<p>If you notice any errors, omissions, or potential copyright issues, please comment below, or <a rel="nofollow" href="http://www.systemnotes.org/contact.html">contact us</a>.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.systemnotes.org%2F2009%2F07%2Frhce-flash-cards%2F&amp;linkname=RHCE%20Flash%20Cards"><img src="http://blog.systemnotes.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>
<p><a href="http://feedads.g.doubleclick.net/~a/OqVni4EyI468TGS2KfuOv36aHc4/0/da"><img src="http://feedads.g.doubleclick.net/~a/OqVni4EyI468TGS2KfuOv36aHc4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/OqVni4EyI468TGS2KfuOv36aHc4/1/da"><img src="http://feedads.g.doubleclick.net/~a/OqVni4EyI468TGS2KfuOv36aHc4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/SystemNotes/~4/9XTinRhriNI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.systemnotes.org/2009/07/rhce-flash-cards/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.systemnotes.org/2009/07/rhce-flash-cards/</feedburner:origLink></item>
		<item>
		<title>Comic – Huge Software Sale</title>
		<link>http://feedproxy.google.com/~r/SystemNotes/~3/jouL-oEL-ko/</link>
		<comments>http://blog.systemnotes.org/2008/12/comic-huge-software-sale/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 00:45:00 +0000</pubDate>
		<dc:creator>scottm</dc:creator>
				<category><![CDATA[free]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://systemnotes.org/blog1b/?p=68</guid>
		<description><![CDATA[We can&#8217;t have all work and no play, so a cartoon every once in a while doesn&#8217;t hurt. While you&#8217;re having fun, check out http://www.lifeisnojoke.com. Here are some articles on where to find free software: opensource-software-for-windows searching-for-software Now, some people may not understand that by free, we mean free. Not pirated, illegally copied, or borrowed. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blaugh.com/2007/03/08/huge-software-sale" rel="bookmark"><img class="comic" title="Huge Software Sale" alt="Huge Software Sale" src="http://blaugh.com/cartoons/070308_buying_software.gif" height="250" width="447" /></a></p>
<p>We can&#8217;t have all work and no play, so a cartoon every once in a while doesn&#8217;t hurt.  While you&#8217;re having fun, check out <a href="http://www.lifeisnojoke.com/" rel="nofollow">http://www.lifeisnojoke.com</a>.</p>
<p>Here are some articles on where to find free software:</p>
<p><a href="http://systemnotesorg.blogspot.com/2007/03/opensource-software-for-windows.html">opensource-software-for-windows</a></p>
<p><a href="http://systemnotesorg.blogspot.com/2007/03/searching-for-software.html">searching-for-software</a></p>
<p>Now, some people may not understand that by free, we mean free.  Not pirated, illegally copied, or borrowed.  Open source software is free to use, copy, modify and distribute. </p>
<p>A small to medium-sized company may have 100 computers, and have to pay $200 for some kind of office software for each machine for a total of $20,000.  But if the company chooses to use free software such as <a href="http://www.openoffice.org/">openoffice</a>, the price would be $0.00 x 100 = $0.00.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.systemnotes.org%2F2008%2F12%2Fcomic-huge-software-sale%2F&amp;linkname=Comic%20%26%238211%3B%20Huge%20Software%20Sale"><img src="http://blog.systemnotes.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>
<p><a href="http://feedads.g.doubleclick.net/~a/CcAC8rjfHM0mxdJ3x8K9HhywURk/0/da"><img src="http://feedads.g.doubleclick.net/~a/CcAC8rjfHM0mxdJ3x8K9HhywURk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/CcAC8rjfHM0mxdJ3x8K9HhywURk/1/da"><img src="http://feedads.g.doubleclick.net/~a/CcAC8rjfHM0mxdJ3x8K9HhywURk/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/SystemNotes/~4/jouL-oEL-ko" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.systemnotes.org/2008/12/comic-huge-software-sale/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.systemnotes.org/2008/12/comic-huge-software-sale/</feedburner:origLink></item>
	</channel>
</rss>

