<?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; Cygwin</title>
	<atom:link href="http://www.everyjoe.com/tag/cygwin/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>Mon, 07 Dec 2009 09:30:00 +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>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>My Weekly Scheduled Jobs</title>
		<link>http://www.everyjoe.com/articles/my-weekly-scheduled-jobs-2/</link>
		<comments>http://www.everyjoe.com/articles/my-weekly-scheduled-jobs-2/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 12:00:02 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[browser cache]]></category>
		<category><![CDATA[ccleaner]]></category>
		<category><![CDATA[cleanmgr]]></category>
		<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Cygwin commands]]></category>
		<category><![CDATA[defrag]]></category>
		<category><![CDATA[desktop search]]></category>
		<category><![CDATA[disk cleanup]]></category>
		<category><![CDATA[disk defragmentation]]></category>
		<category><![CDATA[disk defragmenter]]></category>
		<category><![CDATA[extensible hard disk]]></category>
		<category><![CDATA[locate]]></category>
		<category><![CDATA[registry cleaer]]></category>
		<category><![CDATA[registry cleanup]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[updatedb]]></category>
		<category><![CDATA[virus scan]]></category>
		<category><![CDATA[Windows Tips]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1312</guid>
		<description><![CDATA[Every Sunday, I perform a set of jobs on all my computers. They help optimize the system, save hard disk space, increase security and privacy, etc.
   
Clean: Using CCleaner, I clean the PCs including all the browser caches and various other application caches. (Read my introduction to CCleaner here.)
Disk Cleanup: I run disk cleanup ($ leanmgr) on all the drives.
Registry: I run a registry cleaner (these days CCleaner itself) to clean the registries, after taking a backup of the current registry set.
Virus Scan: I run an entire PC scan, not just the scan across the “commonly infected areas”.
Defragment: Using [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/my-weekly-scheduled-jobs-2/">My Weekly Scheduled Jobs</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Every Sunday, I perform a set of jobs on all my computers. They help optimize the system, save hard disk space, increase security and privacy, etc.</p>
<p align="center"><a href="http://www.everyjoe.com/files/2/2009/02/ccleaner.gif"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="CCleaner" src="http://www.everyjoe.com/files/2/2009/02/ccleaner-thumb.gif" border="0" alt="CCleaner" width="102" height="103" /></a> <a href="http://www.everyjoe.com/files/2/2009/02/diskcleanup.gif"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Disk Cleanup" src="http://www.everyjoe.com/files/2/2009/02/diskcleanup-thumb.gif" border="0" alt="Disk Cleanup" width="67" height="53" /></a>  <a href="http://www.everyjoe.com/files/2/2009/02/diskdefragmenter.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Disk Defragmenter" src="http://www.everyjoe.com/files/2/2009/02/diskdefragmenter-thumb.png" border="0" alt="Disk Defragmenter" width="104" height="104" /></a></p>
<p><strong>Clean</strong>: Using CCleaner, I clean the PCs including all the browser caches and various other application caches. (Read my <a title="That Damn PC: Use CCleaner to Clean Your Computer" href="http://www.everyjoe.com/articles/use-ccleaner-to-clean-your-computer-2/" target="_self">introduction to CCleaner</a> here.)</p>
<p><strong>Disk Cleanup</strong>: I run disk cleanup (<span style="font-family: Lucida Console;">$ leanmgr</span>) on all the drives.</p>
<p><strong>Registry</strong>: I run a registry cleaner (these days CCleaner itself) to clean the registries, after taking a backup of the current registry set.</p>
<p><strong>Virus Scan</strong>: I run an entire PC scan, not just the scan across the “commonly infected areas”.</p>
<p><strong>Defragment</strong>: Using the disk defrgamenter (<span style="font-family: Lucida Console;">$ defrag –a &lt;drive&gt;</span>), I first analyze all the drives and if necessary defragment the recommended ones.</p>
<p><a title="That Damn PC: Locate, A Desktop Search Alternative" href="http://www.everyjoe.com/locate-a-desktop-search-alternative/" target="_blank"><strong>Updatedb</strong></a>: I update the Cygwin file index.</p>
<p><strong>Backup</strong>: I take a backup of all important data on my Transcend Extensible Hard disk. A good idea, don&#8217;t you think?</p>
<p><em>Image Sources: CCleaner, Disk Cleanup and Disk Defragmenter.</em></p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/my-weekly-scheduled-jobs-2/">My Weekly Scheduled Jobs</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/my-weekly-scheduled-jobs-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>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>
		<item>
		<title>Happy Birthday Lifehacker</title>
		<link>http://www.everyjoe.com/articles/happy-birthday-lifehacker-2/</link>
		<comments>http://www.everyjoe.com/articles/happy-birthday-lifehacker-2/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 12:45:15 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[birthday]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[blogger]]></category>
		<category><![CDATA[Cool Software]]></category>
		<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[happy birthday]]></category>
		<category><![CDATA[happy birthday lifehacker]]></category>
		<category><![CDATA[Lifehacker]]></category>
		<category><![CDATA[Web Tools]]></category>
		<category><![CDATA[Windows Tips]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1269</guid>
		<description><![CDATA[I am two days late, but never mind. Lifehacker, the fabulous site with everyday tips and downloads for getting things done, had its first post on 31st Jan 2005. What a phenomenal success it has achieved in these four years!
On this occasion, the super blog has two interesting posts: Our Best Posts From 2005 to 2009, and Weirdest and Most Controversial Posts.
 I am especially thankful to Gina Trapani, the blog’s founding editor, for introducing me to Cygwin and the todo.sh. She used to make frequent posts but has been writing only a weekly column on the blog these days. [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/happy-birthday-lifehacker-2/">Happy Birthday Lifehacker</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I am two days late, but never mind. <a title="Lifehacker Home Page" href="http://www.lifehacker.com" target="_blank">Lifehacker</a>, the fabulous site with everyday tips and downloads for getting things done, had its <a title="Lifehacker: Lifehacker Launches" href="http://lifehacker.com/031643/lifehacker-launches" target="_blank">first post</a> on 31st Jan 2005. What a phenomenal success it has achieved in these four years!</p>
<p>On this occasion, the super blog has two interesting posts: <a title="Lifehacker: Happy Birthday Lifehacker, Our Best Posts From 2005 to 2009" href="http://lifehacker.com/5141478/happy-birthday-lifehacker-our-best-posts-from-2005-to-2009" target="_blank">Our Best Posts From 2005 to 2009</a>, and <a title="Lifehacker: Lifehacker's Weirdest and Most Controversial Posts" href="http://lifehacker.com/5142976/lifehackers-weirdest-and-most-controversial-posts" target="_blank">Weirdest and Most Controversial Posts</a>.</p>
<p><a href="http://www.everyjoe.com/files/2/2009/02/lifehackerupgradeyourlife.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Lifehacker Upgrade Your Life" src="http://www.everyjoe.com/files/2/2009/02/lifehackerupgradeyourlife-thumb.png" border="0" alt="Lifehacker Upgrade Your Life" width="165" height="244" align="left" /></a> I am especially thankful to Gina Trapani, the blog’s founding editor, for introducing me to <a title="Lifehacker: Geek to Live: Introduction to Cygwin Part 1" href="http://lifehacker.com/software/cygwin/geek-to-live--introduction-to-cygwin-part-i-179514.php" target="_blank">Cygwin</a> and the <a title="Lifehacker: Geek to Live Reader-Written Todo.txt manager" href="http://lifehacker.com/software/top/geek-to-live--readerwritten-todotxt-manager-173018.php" target="_blank">todo.sh</a>. She used to make frequent posts but has been writing only a weekly column on the blog these days. She released a book, <em><a href="http://www.amazon.com/exec/obidos/ASIN/0470238364/ref=nosim/lifehackerboo-20">Upgrade Your Life: The Lifehacker Guide to Working Smarter, Faster, Better</a></em>, which consists of all the best hacks from Lifehacker.com&#8217;s archives, and her personal manifesto on working more efficiently in the digital age. Check out <a href="Http://lifehackerbook.com">the official web site of <em>Upgrade Your Life</em></a> to browse the table of contents and download a sample chapter.</p>
<p>Happy birthday, Lifehacker! Many happy returns of the day. I am a regular visitor of Lifehacker, a big user of <a title="That Damn PC Cygwin &amp; Unix Category" href="http://www.everyjoe.com/category/cygwin-unix">Cygwin</a>, and I hope that the four-hour-long course that I did today on time management nudges me enough to become a daily user of todo.sh.</p>
<p>In this spirit, dear readers, here is the <a title="The Ultimate List of Free Windows Software From Microsoft" href="http://bhandler.spaces.live.com/blog/cns!70F64BC910C9F7F3!1231.entry?wa=wsignin1.0" target="_blank">ultimate list of free Windows software from Microsoft</a>. Enjoy.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/happy-birthday-lifehacker-2/">Happy Birthday Lifehacker</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/happy-birthday-lifehacker-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>POSIX and PATH</title>
		<link>http://www.everyjoe.com/articles/posix-and-path-2/</link>
		<comments>http://www.everyjoe.com/articles/posix-and-path-2/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 12:15:43 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Damn Blog]]></category>
		<category><![CDATA[Damn PC]]></category>
		<category><![CDATA[directory structure]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[Path]]></category>
		<category><![CDATA[POSIX]]></category>
		<category><![CDATA[root directory]]></category>
		<category><![CDATA[tree structure]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[unmount]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1253</guid>
		<description><![CDATA[It has been nearly two months since I introduced Cygwin. We’ve seen how to install Cygwin, customize the terminal, a few text editors and a tabbed terminal emulator. Enough with the playfulness. One final configuration and let us move on to the geekier fun.
Directory Structure
Cygwin uses the POSIX notation standard in paths. That is, instead of ‘\’ as in Windows, it uses the more convenient ‘/’ as in Unix. The web follows the same notation. For instance, take http://thatdamnpc.com/category/cygwin-unix. On the web host, one might find a directory called “category” in the main directory and a sub-directory “cygwin-unix” along with [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/posix-and-path-2/">POSIX and PATH</a></p>
]]></description>
			<content:encoded><![CDATA[<p>It has been nearly two months since I <a title="That Damn PC: Introducing Cygwin" href="http://www.everyjoe.com/introducing-cygwin/">introduced Cygwin</a>. We’ve seen how to <a title="That Damn PC: How to Install Cygwin" href="http://www.everyjoe.com/how-to-install-cygwin/">install Cygwin</a>, <a title="That Damn PC: Customizing the Cygwin Terminal" href="http://www.everyjoe.com/customizing-the-cygwin-terminal/">customize</a> the <a title="That Damn PC: The .profile in Cygwin" href="http://www.everyjoe.com/articles/the-profile-in-cygwin-2/">terminal</a>, a few <a title="That Damn PC: Many Cygwin Text Editors" href="http://www.everyjoe.com/many-cygwin-text-editors/">text editors</a> and a <a title="That Damn PC: Poderosa the Terminal Emulator" href="http://www.everyjoe.com/poderosa-the-terminal-emulator/">tabbed terminal emulator</a>. Enough with the playfulness. One final configuration and let us move on to the geekier fun.</p>
<p><strong>Directory Structure<br />
</strong>Cygwin uses the <strong>POSIX</strong> notation standard in paths. That is, instead of ‘\’ as in Windows, it uses the more convenient ‘/’ as in Unix. The web follows the same notation. For instance, take <a href="http://thatdamnpc.com/category/cygwin-unix">http://thatdamnpc.com/category/cygwin-unix</a>. On the web host, one might find a directory called “category” in the main directory and a sub-directory “cygwin-unix” along with other category names in it.</p>
<p>‘/’, the root directory, is considered the parent directory under which all directories fall, like /usr, /bin, /lib, /tmp, /var, etc. /A/B/C/D/E/F.txt would mean a file F.txt present in E, a sub-directory of D, which is a sub-directory of C, which is a sub-directory of B, which is a sub-directory of A, which is a sub-directory of /, the root.</p>
<p>If you look at the contents of / (<span style="font-family: Lucida Console;">ls /</span> or <span style="font-family: Lucida Console;">dir /</span>) in your Cygwin terminal, you will notice a sub-directory called cygdrive. This contains all the Windows drives in it. Your C: drive can be got to through /cygdrive/c.</p>
<p>For convenience, we can remove this /cygdrive prefix in the following ways:</p>
<p>1. <span style="font-family: Lucida Console;">$ cd /<br />
    $ mkdir c e<br />
    $ mount c: /c<br />
    $ mount e: /e</span></p>
<p>2. <span style="font-family: Lucida Console;">$ mount –c /</span></p>
<p>In this way your main Windows drives will be direct sub-directories of /.</p>
<p><strong>PATH<br />
</strong>Check what your path is using <span style="font-family: Lucida Console;">echo $PATH</span> command. It should have at least the following: <span style="font-family: Lucida Console;">/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/WINDOWS/<br />
system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/SysinternalsSuite</span></p>
<p>Using this path setting, we can run even those programs that we could run from the MS Command Prompt. If you have any other files which can be run from command line, add them to the path using your .profile. We’ve already seen that.</p>
<p>Good to go from next week.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/posix-and-path-2/">POSIX and PATH</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/posix-and-path-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Poderosa: The Terminal Emulator</title>
		<link>http://www.everyjoe.com/articles/poderosa-the-terminal-emulator-2/</link>
		<comments>http://www.everyjoe.com/articles/poderosa-the-terminal-emulator-2/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 12:00:50 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Cool Software]]></category>
		<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft .NET Framework 2.0]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[putty connection manager]]></category>
		<category><![CDATA[remote login]]></category>
		<category><![CDATA[tabbed application]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[terminal emulator]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1240</guid>
		<description><![CDATA[The terminal is an important aspect of Cygwin like for any Unix-based OS. For this reason, you might see its users like me chasing after fancy ways of beautifying it. Well, I will try to make this the last time.
Poderosa is the best terminal emulator for Cygwin that I have come across. It has a tabbed GUI, much like the PuTTY Connection Manager. However, in addition to the network communication protocols through which one can connect to a remote system using PuTTY, local Cygwin shells can also be opened using Poderosa. I use it mainly for the latter purpose.

Poderosa allows [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/poderosa-the-terminal-emulator-2/">Poderosa: The Terminal Emulator</a></p>
]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">The terminal is an important aspect of Cygwin like for any Unix-based OS. For this reason, you might see its users like me chasing after <a title="That Damn PC: Customizing the Cygwin Terminal" href="http://www.everyjoe.com/customizing-the-cygwin-terminal/">fancy ways of beautifying it</a>. Well, I will try to make this the last time.</p>
<p>Poderosa is the best terminal emulator for Cygwin that I have come across. It has a tabbed GUI, much like the <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 Connection Manager</a>. However, in addition to the network communication protocols through which one can connect to a remote system using PuTTY, local Cygwin shells can also be opened using Poderosa. I use it mainly for the latter purpose.</p>
<p style="text-align: center;"><a href="http://www.everyjoe.com/files/2/2009/01/poderosascreenshot.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Poderosa Screenshot" src="http://www.everyjoe.com/files/2/2009/01/poderosascreenshot-thumb.png" border="0" alt="Poderosa Screenshot" width="544" height="400" /></a></p>
<p>Poderosa allows the user to set custom fonts and colors, keyboard shortcuts, command suggestions, etc. The “detailed preference editor” is especially useful, though not very straightforward to use. The app was built in a plug-in architecture and allows one to build custom plug-ins.</p>
<p>Poderosa too needs .NET Framework 2.0 preinstalled on your computer. Unlike PuTTY Connection Manager, I found Poderosa very stable. For telnet though, Poderosa gave me trouble where the PuTTY Connection Manager worked.</p>
<p>Poderosa, according to the <a title="Poderosa" href="http://www.poderosa.org" target="_blank">website</a>, had funding from the Japanese Govt. during 2005. Presently, its development seems to have stopped over a couple of years ago. The last release was v4.1.0 and you can get it from <a title="Poderosa Binary Files" href="http://en.poderosa.org/download/binary.html" target="_blank">here</a>.</p>
<p><em>Image Source: <a title="Poderosa Homepage" href="http://www.poderosa.org/" target="_blank">Poderosa</a> on my PC.</em></p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/poderosa-the-terminal-emulator-2/">Poderosa: The Terminal Emulator</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/poderosa-the-terminal-emulator-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>