<?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>EveryJoe &#187; How-To</title>
	<atom:link href="http://www.everyjoe.com/tag/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.everyjoe.com</link>
	<description>Sports News - Tech Reviews - Entertainment - Life Tips for EveryJoe</description>
	<lastBuildDate>Fri, 27 Nov 2009 06:48:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Getting Back to the Basics</title>
		<link>http://www.everyjoe.com/articles/getting-back-to-the-basics/</link>
		<comments>http://www.everyjoe.com/articles/getting-back-to-the-basics/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 03:57:52 +0000</pubDate>
		<dc:creator>Jason Bean</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[average users]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[beginners]]></category>
		<category><![CDATA[computer users]]></category>
		<category><![CDATA[How-To]]></category>

		<guid isPermaLink="false">http://www.everyjoe.com/articles/getting-back-to-the-basics/</guid>
		<description><![CDATA[I was reminded boldly today that what I think everyone knows about computers, everyone DOES NOT KNOW. I was providing some support for an individual and was helping them navigate around in Windows and I was shocked at the amount of detail I had to provide to get my message across.

After my initial shock that a simple command like &#8220;right-clicking&#8221; wasn&#8217;t obvious to someone I realized I had to slow down and communicate as visually as possible to get my point across.
I then had to explain items like using the Start &#62; Run command.
We then moved onto what to look [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/getting-back-to-the-basics/">Getting Back to the Basics</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I was reminded boldly today that what I think everyone knows about computers, everyone DOES NOT KNOW. I was providing some support for an individual and was helping them navigate around in Windows and I was shocked at the amount of detail I had to provide to get my message across.</p>
<p><a href="http://www.everyjoe.com/files/2009/08/buildingblocks.jpg"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" src="http://www.everyjoe.com/files/2009/08/buildingblocks_thumb.jpg" border="0" alt="building-blocks" width="575" height="242" /></a></p>
<p>After my initial shock that a simple command like &#8220;right-clicking&#8221; wasn&#8217;t obvious to someone I realized I had to slow down and communicate as visually as possible to get my point across.</p>
<p>I then had to explain items like using the Start &gt; Run command.</p>
<p>We then moved onto what to look for when searching for &#8220;Properties&#8221; of a file and to look for tabs to get to different areas of the interface.</p>
<p>There was even a little bit of time spent on the discussion of file path structure and the differences between backslashes \\ and forward slashes //.</p>
<p>All-in-all the exercise was good for me. It was an eye-opener to look at things very differently and try to understand how different users may look at applications or interfaces I may create. It got me thinking though, what does the average computer user really know?</p>
<h6>Image: <a title="stock.xchng" href="http://www.sxc.hu/photo/853370" target="_blank">sxc.hu</a></h6>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/getting-back-to-the-basics/">Getting Back to the Basics</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/getting-back-to-the-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Stop Relying on Others for the Simple Stuff</title>
		<link>http://www.everyjoe.com/articles/how-to-stop-relying-on-others-for-the-simple-stuff/</link>
		<comments>http://www.everyjoe.com/articles/how-to-stop-relying-on-others-for-the-simple-stuff/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 14:12:00 +0000</pubDate>
		<dc:creator>Jason Bean</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[do it]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Fishing]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://www.everyjoe.com/articles/how-to-stop-relying-on-others-for-the-simple-stuff/</guid>
		<description><![CDATA[I had a request asked of me the other day that confused me for a bit. Someone wanted me to email directions to someone else. Two thoughts came to my mind, the first of which was trying to determine at what point I was going to get around to doing that simple, little task. The second thought was why in the world did I need to be the one to complete the simple little task?

We&#8217;ve all heard the analogy of giving a man a fish or teaching him to fish. The same holds true for technology. I can keep doing [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/how-to-stop-relying-on-others-for-the-simple-stuff/">How to Stop Relying on Others for the Simple Stuff</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I had a request asked of me the other day that confused me for a bit. Someone wanted me to email directions to someone else. Two thoughts came to my mind, the first of which was trying to determine at what point I was going to get around to doing that simple, little task. The second thought was why in the world did I need to be the one to complete the simple little task?</p>
<p><a href="http://www.everyjoe.com/files/2009/06/fishing.jpg"><img border="0" alt="fishing" src="http://www.everyjoe.com/files/2009/06/fishing-thumb.jpg" width="575" height="242" /></a></p>
<p>We&#8217;ve all heard the analogy of giving a man a fish or teaching him to fish. The same holds true for technology. I can keep doing something for you, or I can teach you how to do it. The great thing is that sometimes the task is really so simple I don&#8217;t even need to teach you. You just need to do it yourself a couple of times and you&#8217;ll figure it out.</p>
<p>If you need directions somewhere, go visit <a title="Google Maps" href="http://local.google.com" target="_blank">Google Maps</a> (<a href="http://local.google.com">http://local.<a title="Google" href="http://www.google.com" target="_blank">google</a>.com</a>) which is my personal preference and put your address in. Then you can click on the little link that says get directions and put your other address in. Done! Print it out, email the directions, embed the map into your website or blog.</p>
<p>Need a phone number? Don&#8217;t call me and ask me what it is. Use the Internet and you can find just about anything you want.</p>
<p>Now, if you&#8217;ll excuse me I have to call my dad and remind him how to move files from his 3.5&quot; disk over to a CD-ROM.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/how-to-stop-relying-on-others-for-the-simple-stuff/">How to Stop Relying on Others for the Simple Stuff</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/how-to-stop-relying-on-others-for-the-simple-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some Computer Basics 101</title>
		<link>http://www.everyjoe.com/articles/some-computer-basics-101/</link>
		<comments>http://www.everyjoe.com/articles/some-computer-basics-101/#comments</comments>
		<pubDate>Thu, 07 May 2009 03:15:00 +0000</pubDate>
		<dc:creator>Jason Bean</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Lessons]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://www.everyjoe.com/articles/some-computer-basics-101/</guid>
		<description><![CDATA[I had a good conversation recently with someone and we were talking about a variety of things, but one of the general thoughts was that it&#8217;s interesting what we don&#8217;t think about in our areas of strengths. For instance, many people look at me as a the &#8220;computer geek&#8221; because of what I know about computers.

I on the other hand think about my computer skills and see all the other things I wish I knew how to do or just knew more about. More than general networking stuff? I think I&#8217;m clueless. Hard-core programming, LOADS of information to still digest [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/some-computer-basics-101/">Some Computer Basics 101</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I had a good conversation recently with someone and we were talking about a variety of things, but one of the general thoughts was that it&#8217;s interesting what we don&#8217;t think about in our areas of strengths. For instance, many people look at me as a the &#8220;computer geek&#8221; because of what I know about computers.</p>
<p><a href="http://www.everyjoe.com/files/2009/05/keyboardhelp.jpg"><img style="border: 0pt none" src="http://www.everyjoe.com/files/2009/05/keyboardhelp-thumb.jpg" border="0" alt="keyboard-help" width="575" height="242" /></a></p>
<p>I on the other hand think about my computer skills and see all the other things I wish I knew how to do or just knew more about. More than general networking stuff? I think I&#8217;m clueless. Hard-core programming, LOADS of information to still digest and learn.</p>
<p>However, in my &#8220;real&#8221; job, I&#8217;m regularly reminded how much general computer knowledge isn&#8217;t out there. In helping support the applications and websites I develop during the day, I come into contact with a number of computer users that it&#8217;s far from second nature on what to do.</p>
<p>It&#8217;s for that reason that I think I&#8217;m going to do some short and quick, general knowledge posts about computers right here. If you&#8217;re like me and serve as the tech-support guy for people (particularly friends and family) then hopefully you&#8217;ll be able to direct some people to these posts for a quick tip on how to use their computer more efficiently, or just at a little bit higher level than they have in the past.</p>
<p>If you&#8217;re not the &#8220;computer geek&#8221; and have questions on how to do stuff and you&#8217;d like me to tackle them and give you a quick post on what to do, feel free to leave me a comment and let me know what you&#8217;d like me to try and help you with here in the future.</p>
<p>I look forward to hopefully hearing from a variety of people on this one.</p>
<h5>Image Source: <a title="stock.xchng" href="http://www.sxc.hu" target="_blank">www.sxc.hu</a></h5>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/some-computer-basics-101/">Some Computer Basics 101</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/some-computer-basics-101/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing and Configuring SSHD Server on Cygwin</title>
		<link>http://www.everyjoe.com/articles/installing-and-configuring-sshd-server-on-cygwin-2/</link>
		<comments>http://www.everyjoe.com/articles/installing-and-configuring-sshd-server-on-cygwin-2/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 12:00:47 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Configure SSH]]></category>
		<category><![CDATA[Cool Software]]></category>
		<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Install SSH daemon]]></category>
		<category><![CDATA[Install SSH on Windows 2003 Server]]></category>
		<category><![CDATA[Install SSH on Windows Vista]]></category>
		<category><![CDATA[Install SSH on Windows XP]]></category>
		<category><![CDATA[Install SSH server]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft Windows 2003 Server]]></category>
		<category><![CDATA[Microsoft Windows Vista]]></category>
		<category><![CDATA[Microsoft Windows XP]]></category>
		<category><![CDATA[OpenSSH]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows 2003 Server]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1325</guid>
		<description><![CDATA[SSH is one communication protocol that is used to access remote systems all the time. Short for “Secure Shell”, SSH provides a secure channel for data exchange, unlike Telnet and other insecure remote shells. Telnet, e.g., transmits all data including passwords in plain text.
For a system A to connect to a remote system B through SSH, A needs a SSH client (like PuTTY for Windows) and B needs a SSHD server running all the time so as to accept incoming connections.
SSH is a proprietary software offered by SSH Communications Security, and as an alternative the open source version OpenSSH is [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/installing-and-configuring-sshd-server-on-cygwin-2/">Installing and Configuring SSHD Server on Cygwin</a></p>
]]></description>
			<content:encoded><![CDATA[<p>SSH is one communication protocol that is used to access remote systems all the time. Short for “Secure Shell”, SSH provides a secure channel for data exchange, unlike Telnet and other insecure remote shells. Telnet, e.g., transmits all data including passwords in plain text.</p>
<p>For a system A to connect to a remote system B through SSH, A needs a SSH client (like <a title="That Damn PC: PuTTY Connection Manager for Tabbed PuTTY" href="http://www.everyjoe.com/articles/putty-connection-manager-for-tabbed-putty-2/">PuTTY</a> for Windows) and B needs a SSHD server running all the time so as to accept incoming connections.</p>
<p>SSH is a proprietary software offered by SSH Communications Security, and as an alternative the open source version OpenSSH is being widely used. On all Unix-based OSs, the OpenSSH SSHD server is installed by default during the installation of the operating system. On Windows, however, it is not the case.</p>
<p>You can install it on top of Cygwin very easily. You will need administrator access with a password set for the account. When you run the Cygwin setup to download or install various packages, select openssh which will select all the other packages it requires.</p>
<p>Once you complete the install, to configure SSHD run <span style="font-family: Lucida Console;">$ ssh-host-config –y</span> from the terminal. This will automatically answer ‘yes’ for the yes/no questions. Give an appropriate password that follows your system rules if an sshd_server is being created or ignore this step. Specify the value of the environment variable CYGWIN as “ntsec tty” for WinXP and Vista and “binmode ntsec tty” for Windows 2003 Server (without quotes). At the end of this process, the sshd service will have automatically started and placed itself among the Windows startup list.</p>
<p>If you have any problems, try following <a title="How to Install SSHD Server on Windows 2000 or Windows XP or Windows Vista" href="http://pigtail.net/LRP/printsrv/cygwin-sshd.html" target="_blank">this article for WinXP and Vista</a> and <a title="HOWTO Setup the Secure Shell Daemon on a Windows 2003 Server" href="http://ist.uwaterloo.ca/~kscully/CygwinSSHD_W2K3.html" target="_blank">this one for Windows 2003 Server</a> or drop me a message.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/installing-and-configuring-sshd-server-on-cygwin-2/">Installing and Configuring SSHD Server on Cygwin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/installing-and-configuring-sshd-server-on-cygwin-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Obscure Location of Quick Launch</title>
		<link>http://www.everyjoe.com/articles/the-obscure-location-of-quick-launch-2/</link>
		<comments>http://www.everyjoe.com/articles/the-obscure-location-of-quick-launch-2/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 12:00:08 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[bad software]]></category>
		<category><![CDATA[corrupted icon cache]]></category>
		<category><![CDATA[environment]]></category>
		<category><![CDATA[environment variables]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft Quick Launch]]></category>
		<category><![CDATA[quick launch]]></category>
		<category><![CDATA[quick launch icons]]></category>
		<category><![CDATA[quick launch toolbar]]></category>
		<category><![CDATA[rebuild icons]]></category>
		<category><![CDATA[tweak UI]]></category>
		<category><![CDATA[Windows Tips]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1298</guid>
		<description><![CDATA[I use Launchy and so have no need for program launch icons, be it on the Desktop or Quick Launch or Windows Start. I don’t even use the Quick Launch toolbar and all I knew until recently was that you add a quick launch icon by dragging any program (or a shortcut pointing to that program) into the toolbar.\\r\\n\\r\\nToday, when I accidentally deleted one of the quick launch icons of a machine not belonging to me, I found the obscure location of the quick launch icons:\\r\\n
%APPDATA%\\\\Microsoft\\\\Internet Explorer\\\\Quick Launch
\\r\\n\\r\\n(APPDATA is an environment variable which can be found by typing echo %APPDATA% [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/the-obscure-location-of-quick-launch-2/">The Obscure Location of Quick Launch</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I use <a title=\\\"That Damn PC: Launch Your Programs With Launchy\\\" href=\\\"http://www.everyjoe.com/articles/launch-your-programs-with-launchy-2/\\\">Launchy</a> and so have no need for program launch icons, be it on the Desktop or Quick Launch or Windows Start. I don’t even use the Quick Launch toolbar and all I knew until recently was that you add a quick launch icon by dragging any program (or a shortcut pointing to that program) into the toolbar.\\r\\n\\r\\nToday, when I accidentally deleted one of the quick launch icons of a machine not belonging to me, I found the obscure location of the quick launch icons:\\r\\n
<p align=\\\"center\\\"><span style=\\\"font-family: Lucida Console;\\\">%APPDATA%\\\\Microsoft\\\\Internet Explorer\\\\Quick Launch</span></p>
<p>\\r\\n\\r\\n(<span style=\\\"font-family: Lucida Console;\\\">APPDATA</span> is an <a title=\\\"That Damn PC: Environment Variables\\\" href=\\\"http://www.everyjoe.com/articles/environment-variables-2/\\\">environment variable</a> which can be found by typing <span style=\\\"font-family: Lucida Console;\\\">echo %APPDATA%</span> at the command prompt.)\\r\\n\\r\\nI checked it on Windows XP and Windows 2003 Server, but it is possible that this location is preserved across OSs. I can’t fathom the reason behind placing quick launch icons in the APPDATA folder belonging to the Internet Explorer. Some might consider it harmless, but say when a custom slipstream installation of Windows is made where the Internet Explorer is not installed, it is possible that Quick Launch is also gone. The location is senseless and a bug, whatever maybe its priority. It is just a tiny example of bad software.\\r\\n\\r\\nWhile there are tools that can help you <a title=\\\"That Damn PC: Ask a Tech Series, How to Rebuild Missing Desktop Icons\\\" href=\\\"http://www.everyjoe.com/articles/ask-a-tech-series-how-to-rebuild-missing-desktop-icons-2/\\\">clean your quick launch cache</a>, etc., if you are not a complete newbie the best way would be to navigate to the Quick Launch folder and see the various files present in that folder (mostly .LNK or shortcut files). You could see for yourself if the files are wrongly pointing to any dead or moved links and update them if necessary. You can also add your own shortcuts directly using <span style=\\\"font-family: Lucida Console;\\\">Right Click –&gt; New –&gt; Shortcut</span>.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/the-obscure-location-of-quick-launch-2/">The Obscure Location of Quick Launch</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/the-obscure-location-of-quick-launch-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cygwin Commands for Text Manipulation</title>
		<link>http://www.everyjoe.com/articles/cygwin-commands-for-text-manipulation-2/</link>
		<comments>http://www.everyjoe.com/articles/cygwin-commands-for-text-manipulation-2/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 12:00:55 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Cool Software]]></category>
		<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[DOS]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[findstr]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[regular expressions]]></category>
		<category><![CDATA[sed]]></category>
		<category><![CDATA[sort]]></category>
		<category><![CDATA[string manipulation]]></category>
		<category><![CDATA[string replacement]]></category>
		<category><![CDATA[text manipulation]]></category>
		<category><![CDATA[uniq]]></category>
		<category><![CDATA[unique]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[wc]]></category>
		<category><![CDATA[word count]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1321</guid>
		<description><![CDATA[DOS has a few commands like find, findstr and sort which can be used to manipulate text. ($ help &#60;cmd&#62; shows the usage help for all these commands.) However, their usage is very different from those that a Unix user may be familiar with.
One of the best things about Cygwin is that these commands useful for “quick and dirty” work on large chunks of text data are easy to learn, are consistent across all Unix-based OSs, have a number of options, and are quite extensive. When used in combination, they can save a lot of programming.
($ &#60;command&#62; &#60;option&#62; &#60;inputs&#62; is [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/cygwin-commands-for-text-manipulation-2/">Cygwin Commands for Text Manipulation</a></p>
]]></description>
			<content:encoded><![CDATA[<p>DOS has a few commands like find, findstr and sort which can be used to manipulate text. (<span style="font-family: Lucida Console;">$ help &lt;cmd&gt;</span> shows the usage help for all these commands.) However, their usage is very different from those that a Unix user may be familiar with.</p>
<p>One of the best things about Cygwin is that these commands useful for “quick and dirty” work on large chunks of text data are easy to learn, are consistent across all Unix-based OSs, have a number of options, and are quite extensive. When used in combination, they can save a lot of programming.</p>
<p>(<span style="font-family: Lucida Console;">$ &lt;command&gt; &lt;option&gt; &lt;inputs&gt;</span> is the general format for almost any of these commands. <span style="font-family: Lucida Console;">$ &lt;command&gt; &#8211;help</span> shows the usage information.)</p>
<p>Note that all the commands below work on text files, not just any files with text content in them.  e.g. a .DOC or a .HTML contains many other headers which are also taken into account when processed by these commands.</p>
<p><strong>wc</strong>: wc is short for “word count”, but it counts more than just words. It can count chars (-m), lines (-l) apart from words (-w).</p>
<p><strong>uniq</strong>: When files have a large number of lines with many identical ones, uniq returns only once all lines among the input files after discarding repetitions. –c also gives the number of times each line has been repeated, –u returns only the unique lines discarding any line which has been repeated more than once, –i considers two lines non-unique if they are only differing the case.</p>
<p><strong>sort</strong>: Say you have several files with numbers or words that need to be sorted. Sort can sort a concatenation of several files at once, where each line is considered a separate value to be sorted. The sorting order can be specified as in –d means dictionary-order, –f means ignore case, –n means numeric sort, –u means sort only unique lines.</p>
<p><strong>grep</strong>: Short for “get regular expression”, grep can be used to search for a specific string or string pattern (called regular expression) in given text. <span style="font-family: Lucida Console;">$ grep “grep” &lt;this-post&gt;</span> shows all the lines with the string “grep” in them. –c is used to count the number of occurrences, –i is used to ignore case, –v is used to invert the result.</p>
<p><strong>sed</strong>: sed is used primarily to find and replace a string or string pattern from files. The most common usage is <span style="font-family: Lucida Console;">$ sed ‘s/&lt;find-string&gt;/&lt;replace-with-string&gt;/g’</span> which replaces all occurrences of &lt;find-string&gt; with &lt;replace-with-string&gt;.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/cygwin-commands-for-text-manipulation-2/">Cygwin Commands for Text Manipulation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/cygwin-commands-for-text-manipulation-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Environment Variables</title>
		<link>http://www.everyjoe.com/articles/environment-variables-2/</link>
		<comments>http://www.everyjoe.com/articles/environment-variables-2/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 12:00:17 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[batch programs]]></category>
		<category><![CDATA[batch scripts]]></category>
		<category><![CDATA[check environment variables]]></category>
		<category><![CDATA[environment]]></category>
		<category><![CDATA[environment variables]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[set environment variables]]></category>
		<category><![CDATA[Windows Tips]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1302</guid>
		<description><![CDATA[Environment variables are a set of dynamic variables that can determine the environment in which a process runs. While they are more easily visible and often used in Unix-based OSs, they are equally essential on Windows. A little knowledge is especially important to write batch programs (.BAT).
The command env typed in your command prompt or Cygwin terminal will list the entire set of environment variables and their current values. My Computer –&#62; Properties –&#62; Advanced –&#62; Environment Variables will also show you the Windows environment variables divided into two categories: System variables and User variables.

While on cmd each variable can [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/environment-variables-2/">Environment Variables</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Environment variables are a set of dynamic variables that can determine the environment in which a process runs. While they are more easily visible and often used in Unix-based OSs, they are equally essential on Windows. A little knowledge is especially important to write batch programs (.BAT).</p>
<p>The command <span style="font-family: Lucida Console;">env</span> typed in your command prompt or Cygwin terminal will list the entire set of environment variables and their current values. My Computer –&gt; Properties –&gt; Advanced –&gt; Environment Variables will also show you the Windows environment variables divided into two categories: System variables and User variables.</p>
<p align="center"><a href="http://www.everyjoe.com/files/2/2009/02/environmentvariables.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Environment Variables" src="http://www.everyjoe.com/files/2/2009/02/environmentvariables-thumb.png" border="0" alt="Environment Variables" width="440" height="484" /></a></p>
<p>While on cmd each variable can be referred to using %ENVIRONMENT-VARIABLE%, on <a title="That Damn PC: Cygwin &amp; Unix Category" href="http://www.everyjoe.com/category/cygwin-unix/" target="_self">Cygwin and all Unix-based OSs</a> they are referred to using $ENVIRONMENT-VARIABLE. (<span style="font-family: Lucida Console;">$ echo %ENVIRONMENT-VARIABLE%</span> or <span style="font-family: Lucida Console;">$ echo $ENVIRONMENT-VARIABLE</span>)</p>
<p>ALLUSERSPROFILE, APPDATA, COMPUTERNAME, HOMEDRIVE, HOMEPATH, PATH, PROGRAMFILES, SYSTEMDRIVE, SystemRoot, USERNAME, USERPROFILE, WINDOWS are a some important environment variables some of which may be modified and are usually quite useful while writing batch programs. OS, NUMBER_OF_PROCESSORS, PROCESSOR_ARCHITECTURE, PROCESSOR_IDENTIFIER, PROCESSOR_LEVEL are a few other interesting variables which are best left untouched.</p>
<p><span style="font-family: Lucida Console;">$ set ENVIRONMENT-VARIABLE=value</span> can be used to change an existing or define a new environment variable.</p>
<p><em>Image Source: Microsoft Windows on my desktop.</em></p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/environment-variables-2/">Environment Variables</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/environment-variables-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Set Windows Logon Warning Message</title>
		<link>http://www.everyjoe.com/articles/how-to-set-windows-logon-warning-message-2/</link>
		<comments>http://www.everyjoe.com/articles/how-to-set-windows-logon-warning-message-2/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 12:00:00 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[AltDefaultDomainName]]></category>
		<category><![CDATA[AltDefaultUserName]]></category>
		<category><![CDATA[DefaultDomainName]]></category>
		<category><![CDATA[DefaultUserName]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[Legal Notice]]></category>
		<category><![CDATA[LegalNoticeCaption]]></category>
		<category><![CDATA[LegalNoticeText]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MOTD]]></category>
		<category><![CDATA[regedit]]></category>
		<category><![CDATA[Registry Editor]]></category>
		<category><![CDATA[registry hacks]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[set windows logon warning]]></category>
		<category><![CDATA[Windows Tips]]></category>
		<category><![CDATA[winlogon]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1279</guid>
		<description><![CDATA[Especially in systems that are part of an enterprise domain, you may have noticed a warning message after pressing Ctrl+Alt+Del and before the login window. It is called a Legal Notice. While it is irritating most of the times, there is a good reason why it exists.
Especially in labs, for instance, all systems have similar account usernames and passwords for convenience. It is not uncommon for someone to accidentally log into someone else’s system and proceed as though it were his or her own. If you are an administrator of a system which needs restricted access, you can create a [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/how-to-set-windows-logon-warning-message-2/">How to Set Windows Logon Warning Message</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Especially in systems that are part of an enterprise domain, you may have noticed a warning message after pressing Ctrl+Alt+Del and before the login window. It is called a <strong>Legal Notice</strong>. While it is irritating most of the times, there is a good reason why it exists.</p>
<p>Especially in labs, for instance, all systems have similar account usernames and passwords for convenience. It is not uncommon for someone to accidentally log into someone else’s system and proceed as though it were his or her own. If you are an administrator of a system which needs restricted access, you can create a custom legal notice which warns other users from accidental misuse.</p>
<p>Open the Registry Editor (<span style="font-family: Lucida Console;">Ctrl+R –&gt; regedit</span>), navigate to <span style="font-family: Lucida Console;">HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon</span>, and you’ll find two registry keys called <span style="font-family: Lucida Console;"><strong>LegalNoticeCaption</strong></span> and <strong><span style="font-family: Lucida Console;">LegalNoticeText</span></strong>. Create them using <span style="font-family: Lucida Console;">Right Click –&gt; New –&gt; String Value</span> and modify them with the text you wish to include.</p>
<p>In UNIX-based OSs, a MOTD serves this purpose. Even <a title="That Damn PC: The .profile in Cygwin" href="http://www.everyjoe.com/articles/the-profile-in-cygwin-2/">the .profile</a> may be modified to include the MOTD.</p>
<p>While you are at this, you may also change the registry keys <span style="font-family: Lucida Console;">DefaultDomainName</span>, <span style="font-family: Lucida Console;">DefaultUserName</span>, <span style="font-family: Lucida Console;">AltDefaultDomainName</span>, <span style="font-family: Lucida Console;">AltDefaultUserName </span>to suit your preferences.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/how-to-set-windows-logon-warning-message-2/">How to Set Windows Logon Warning Message</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/how-to-set-windows-logon-warning-message-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Your PC Using Find</title>
		<link>http://www.everyjoe.com/articles/google-your-pc-using-find-2/</link>
		<comments>http://www.everyjoe.com/articles/google-your-pc-using-find-2/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 12:00:56 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Advanced]]></category>
		<category><![CDATA[Cool Software]]></category>
		<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[Google desktop search]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[piping]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[search file content]]></category>
		<category><![CDATA[search inside files]]></category>
		<category><![CDATA[Windows desktop search]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1290</guid>
		<description><![CDATA[find is an elaborate search program with a number of features. Unlike the Google Desktop Search and locate, it doesn’t index anything but processes the request on the fly. Thus it is slower.
find is one of the most useful commands when you also have to search within unknown files and make further operations on the result set. It does a recursive search, looking in all subdirectories.
The first set of arguments is always the paths where the search should initiate. $ find /home /tmp &#60;remaining arguments&#62; would search based on the remaining arguments in /home, /tmp and all their subdirectories. If [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/google-your-pc-using-find-2/">Google Your PC Using Find</a></p>
]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: Lucida Console;">find</span> is an elaborate search program with a number of features. Unlike the Google Desktop Search and <span style="font-family: Lucida Console;"><a title="That Damn PC: Locate, A Desktop Search Alternative" href="http://www.everyjoe.com/locate-a-desktop-search-alternative/" target="_self">locate</a></span>, it doesn’t index anything but processes the request on the fly. Thus it is slower.</p>
<p><span style="font-family: Lucida Console;">find</span> is one of the most useful commands when you also have to search within unknown files and make further operations on the result set. It does a recursive search, looking in all subdirectories.</p>
<p>The first set of arguments is always the paths where the search should initiate. <span style="font-family: Lucida Console;">$ find /home /tmp &lt;remaining arguments&gt;</span> would search based on the remaining arguments in /home, /tmp and all their subdirectories. If unspecified, the default path is taken as ‘.’, the current working directory.</p>
<p>To search for a specific filename pattern, <span style="font-family: Lucida Console;">–name &lt;regexp&gt;</span> is used as the next argument. <span style="font-family: Lucida Console;">$ find /home /tmp –name *.sh</span> returns all .SH files present in /home, /tmp and their subdirectories.</p>
<p>Instead of piping, to perform any operation on each of the results returned, <span style="font-family: Lucida Console;">–exec</span> is used. <span style="font-family: Lucida Console;">$ find /home /tmp –name *.sh –exec grep todo ‘{}’ \; –print</span><span style="font-family: verdana;"> searches for the string todo in the above returned files. </span><span style="font-family: Lucida Console;">grep</span> does the search and ‘{}’ implies that all results need to be processed. The <span style="font-family: Lucida Console;">–print</span> prints the final output, the actual lines containing the specified string in the files.</p>
<p><span style="font-family: verdana;">Instead of </span><span style="font-family: Lucida Console;">grep</span>, it could be <span style="font-family: Lucida Console;">chmod</span> or <span style="font-family: Lucida Console;">chown</span> or any operation that can be done of files. These above options are the most common use cases of <span style="font-family: Lucida Console;">find</span>.</p>
<p><span style="font-family: verda;">There are</span> a number of other options to refine the search like complex expressions with boolean operators, the maximum and minimum depth of subdirectories that need to be traversed, the modification times and permissions on files, the file types, etc. You can read about all these in the <a title="Unix Find Manual Page" href="http://unixhelp.ed.ac.uk/CGI/man-cgi?find">manual page</a>.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/google-your-pc-using-find-2/">Google Your PC Using Find</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/google-your-pc-using-find-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Locate: A Desktop Search Alternative</title>
		<link>http://www.everyjoe.com/articles/locate-a-desktop-search-alternative-2/</link>
		<comments>http://www.everyjoe.com/articles/locate-a-desktop-search-alternative-2/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 12:00:00 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Cygwin commands]]></category>
		<category><![CDATA[desktop search]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[Google desktop search]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[locate]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[updatedb]]></category>
		<category><![CDATA[Windows desktop search]]></category>
		<category><![CDATA[Windows search]]></category>
		<category><![CDATA[Windows Tips]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1262</guid>
		<description><![CDATA[Every once in a while, there is some file that you know you’ve saved but yet can’t find it. Windows Search comes handy at such times but is very slow. Windows Desktop Search, a new utility that is now being shipped with the Windows OSs and being given as an update works using indexing. I think it was started to beat the competition of Google Desktop Search.
IMHO, both Windows and Google Desktop Search consume too many resources.
e.g. Windows Desktop Search recommends Pentium 1 GHz Processor and 256 MB RAM, 500 MB of free hard disk space,… A process that starts [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/locate-a-desktop-search-alternative-2/">Locate: A Desktop Search Alternative</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Every once in a while, there is some file that you know you’ve saved but yet can’t find it. Windows Search comes handy at such times but is very slow. Windows Desktop Search, a new utility that is now being shipped with the Windows OSs and being given as an update works using indexing. I think it was started to beat the competition of Google Desktop Search.</p>
<p><strong>IMHO, both Windows and Google Desktop Search consume too many resources.</strong></p>
<p>e.g. Windows Desktop Search recommends Pentium 1 GHz Processor and 256 MB RAM, 500 MB of free hard disk space,… A process that starts automatically all the time. Note that we don’t search for files on our desktop all the time and mostly have an idea which file sits in which folder. A desktop search is for that occasion where we’ve “lost” some file, now and then.</p>
<p>Cygwin provides the best alternatives: <span style="font-family: Lucida Console;">locate</span> and <span style="font-family: Lucida Console;">find</span>.</p>
<p><span style="font-family: Lucida Console;"><strong>locate</strong></span> coupled with <span style="font-family: Lucida Console;"><strong>updatedb</strong></span> helps you find any file (even hidden ones and those in temporary cache folders) in your system.</p>
<p>When you run the <span style="font-family: Lucida Console;">updatedb ($ updatedb)</span>, as the name suggests, it updates its database creating a simple index of all the files that are present in the system, with full paths. The first time you run it, like any other indexing application, it takes a few minutes to index the whole system. From the next time, it barely takes a minute, if you run it periodically, that is. I run <span style="font-family: Lucida Console;">updatedb</span> about once every week to keep the index fresh.</p>
<p>After updating the file index, you can start using <span style="font-family: Lucida Console;">locate</span>.</p>
<p><span style="font-family: Lucida Console;">$ locate &lt;substring-of-filename&gt;</span></p>
<p>gives you all the files on your PC which contain the substring in their filenames, within a second. Even the files that accidentally got saved in some obscure temporary folder can be retrieved easily.</p>
<p>There are more options to update and locate files with extra preferences but I never had to use them much. The default usage suffices.</p>
<p>The great thing, apart from the speed of retrieval, is that this is not resource intensive and a dedicated process is not always running on your system for it. Of course, you need <a title="That Damn PC: How to Install Cygwin" href="http://www.everyjoe.com/how-to-install-cygwin/">Cygwin installed</a>.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/locate-a-desktop-search-alternative-2/">Locate: A Desktop Search Alternative</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/locate-a-desktop-search-alternative-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
