<?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>Kudithipudi.Org &#187; HOWTO</title>
	<atom:link href="http://kudithipudi.org/category/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://kudithipudi.org</link>
	<description>Too much time on hand!!!</description>
	<lastBuildDate>Mon, 06 Feb 2012 02:19:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>HOW TO : Modify iptables rules</title>
		<link>http://kudithipudi.org/2011/12/12/how-to-modify-iptables-rules/</link>
		<comments>http://kudithipudi.org/2011/12/12/how-to-modify-iptables-rules/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 20:17:16 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=1143</guid>
		<description><![CDATA[Quick how to for my personal records. iptables is an open source firewall (and it does a lot more) included with most linux distributions. Steps to add new rule to existing configuration Check the list of rules and their corresponding sequence Add the new rule at the required location/sequence Example : Save the configuration Thx [...]]]></description>
			<content:encoded><![CDATA[<p>Quick how to for my personal records. <a href="http://en.wikipedia.org/wiki/Iptables">iptables</a> is an open source firewall (and it does a lot more) included with most linux distributions.</p>
<p>Steps to add new rule to existing configuration</p>
<ul>
<li>Check the list of rules and their corresponding sequence</li>
</ul>
<p>
<pre class="brush: plain; title: ; notranslate">sudo iptables -vL --line-numbers </pre>
</p>
<ul>
<li>Add the new rule at the required location/sequence</li>
</ul>
<p>
<pre class="brush: plain; title: ; notranslate"> sudo iptables -I INPUT LINE_NUMBER RULE </pre>
</p>
<p style="padding-left: 30px;">Example :</p>
<p>
<pre class="brush: plain; title: ; notranslate">iptables -I INPUT 8 -s X.X.X.X/24 -p tcp -m state --state NEW -m tcp --dport 3128 -j ACCEPT</pre>
</p>
<ul>
<li>Save the configuration</li>
</ul>
<p>
<pre class="brush: plain; title: ; notranslate"> sudo serivce iptables save </pre>
</p>
<p>Thx to Sijis for helping with the commands.</pre>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2011/12/12/how-to-modify-iptables-rules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW TO : Fix Jboss startup script for CentOS</title>
		<link>http://kudithipudi.org/2011/11/28/how-to-fix-jboss-startup-script-for-centos/</link>
		<comments>http://kudithipudi.org/2011/11/28/how-to-fix-jboss-startup-script-for-centos/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 04:50:22 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=1140</guid>
		<description><![CDATA[Quick note for myself on fixing the default startup script provided by Jboss to work on CentOS. Thx to Shankar to finding the solution. The default startup script (/$JBOSS_HOME/bin/jboss_init_redhat.sh) that Jboss provides does not work properly in CentOS. The start option works fine, but when you try to stop Jboss, it gives you a &#8220;No [...]]]></description>
			<content:encoded><![CDATA[<p>Quick note for myself on fixing the default startup script provided by Jboss to work on CentOS. Thx to Shankar to finding the solution.</p>
<p>The default startup script (/$JBOSS_HOME/bin/jboss_init_redhat.sh) that Jboss provides does not work properly in CentOS. The start option works fine, but when you try to stop Jboss, it gives you a &#8220;No JBossas is currently running&#8221; message and quits.</p>
<p>Here&#8217;s a quick way to fix it. Edit the jboss_init_redhat.sh file and replace</p>
<pre class="brush: plain; title: ; notranslate">JBOSSSCRIPT=$(echo $JBOSSSH | awk '{print $1}' | sed 's/\//\\\//g') </pre>
<p>with</p>
<pre class="brush: plain; title: ; notranslate">JBOSSSCRIPT=$(echo $JBOSSSH | awk '{print $1}')</pre>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2011/11/28/how-to-fix-jboss-startup-script-for-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW TO : Move your life into the cloud</title>
		<link>http://kudithipudi.org/2011/11/13/how-to-move-your-life-into-the-cloud/</link>
		<comments>http://kudithipudi.org/2011/11/13/how-to-move-your-life-into-the-cloud/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 03:41:08 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=751</guid>
		<description><![CDATA[Nope&#8230; I am not too late to get on the &#8220;cloud&#8221; bandwagon . I started writing this post in Dec 2009 and here&#8217;s a screenshot of my drafts to prove it  And I have finally decided that it is time to complete the post and publish it. I change laptops every 6 months or so [...]]]></description>
			<content:encoded><![CDATA[<p>Nope&#8230; I am not too late to get on the &#8220;cloud&#8221; bandwagon <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I started writing this post in Dec 2009 and here&#8217;s a screenshot of my drafts to prove it <img class="aligncenter" title="Screenshot : Blog : Drafts" src="http://farm7.static.flickr.com/6045/6342840140_4a466bb77d_d.jpg" alt="" width="500" height="147" /></p>
<p>And I have finally decided that it is time to complete the post and publish it.</p>
<p>I change laptops every 6 months or so and a lot of my friends ask me how I manage to swap them so quickly and yet stay productive. I am sure a lot of you can relate to this. It usually take a month or so to get your workstation to a &#8220;state&#8221; that you feel comfortable with and are productive. Here are the tricks/tools I use to make the switching of a laptop/desktop to be a no-brainer activity. And I utilize the &#8220;cloud&#8221; heavily for this.</p>
<p>I adhere to a couple of simple rules to make sure I can be productive anywhere, even in situations, where I don&#8217;t have my workstation with me.</p>
<ul>
<li>Everything I produce should be searchable</li>
<li>Everything I produce should be available on the web</li>
<li>Everything I produce should be easy to share</li>
</ul>
<p>With these principles in mind, here are the services I use..</p>
<p><strong>PHOTOS :</strong></p>
<ul>
<li><span style="color: #ff0000;">SERVICE</span> : I use <a href="http://www.flickr.com">flickr</a> to store all my pictures. I have taken ~40 thousand pictures since 2003 and everyone of them is online at <a href="http://www.flickr.com/photos/kudithipudi">http://www.flickr.com/photos/kudithipudi</a>. I wish, flickr was around when I was a kid, so that I had a place to store all the pictures from my childhood instead of rotting away in some old cardboard box. I like Flickr for it&#8217;s simplicity and ease of use. There are other sites that offer a lot more features, but the features offered by Flickr are are more than enough for me.</li>
<li><span style="color: #ff0000;">COST</span> : $24.95/year to upload/store unlimited number of pictures</li>
<li><span style="color: #ff0000;">OTHER CHOICES</span> : There are <a href="http://en.wikipedia.org/wiki/List_of_photo_sharing_websites">plenty</a> of photo storing/sharing sites. Some of the popular ones are <a href="https://picasaweb.google.com">picasa</a>, <a href="http://photobucket.com/">photobucket</a>, <a href="http://photobucket.com/">facebook</a></li>
</ul>
<p><strong>ON-LINE STORAGE :</strong></p>
<ul>
<li><span style="color: #ff0000;">SERVICE</span> : I use <a href="http://db.tt/cIeKiRI">dropbox</a> to store any digital content I create. This overlaps a bit with the service I use to store documents I create. Dropbox is a service that allows you to synchronize files between different computers you have the agent installed on and at the same time stores them online for you. They offer 2GB of free space by default and you can earn more space by <a href="http://db.tt/cIeKiRI">referring</a> people to the service. (note : the links to dropbox are my referral links. If you sign up for the service, I get 250Mb of free space. If you don&#8217;t want to use the referral links, you can sign up for the service directly at <a href="http://www.dropbox.com">www.dropbox.com</a>).You would think 2GB is not a lot of space. But once you remove the music, movies and photos, you really don&#8217;t need a lot of space <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . For example, I haven&#8217;t crossed 1.8 GB, even though I have an electronic record of all my important files all the way from 2006. All I do, when I switch to a new laptop is install the dropbox agent and voila all my files are downloaded and synced with the latest copies.</li>
<li><span style="color: #ff0000;">COST</span> : free. If you need more space, dropbox offers it for a <a href="https://www.dropbox.com/plans">cost</a>.</li>
<li><span style="color: #ff0000;">OTHER CHOICES</span> : There&#8217;s plenty of competition for dropbox, but I don&#8217;t think anyone of them have come close to making the sharing/storage work as seamless as dropbox. Some of the popular ones are <a href="http://www.box.net">box.net</a>, <a href="http://www.sugarsync.com">SugarSync</a>,<a href="http://www.wuala.com">wuala</a>, <a href="http://www.amazon.com/clouddrive">Amazon Cloud Drive</a></li>
</ul>
<p><strong>DOCUMENTS :</strong></p>
<ul>
<li><span style="color: #ff0000;">SERVICE</span> : I use <a href="http://docs.google.com">Google Docs</a> to create and store documents, spreadsheets and presentations. Since it&#8217;s inception in 2006 as a simple online editor and spreadsheets service, Google Docs has come a long way. There are few things you cannot do in Google Docs, that you can do in a full fledged productivity suite like <a href="http://office.microsoft.com">Microsoft Office</a>. Plus it gives you the capability to collaborate with other people when creating documents.</li>
<li><span style="color: #ff0000;">COST</span> : free.</li>
<li><span style="color: #ff0000;">OTHER CHOICES</span> : The only other service that comes close to Google Docs is <a href="http://www.zoho.com/">Zoho Suites</a>. Microsoft has a competing product, <a href="http://www.officelive.com">Office Live</a>, but I think they are confused on how to market it because it will eat into their most profitable franchise (Microsoft Office)</li>
</ul>
<p><strong>EMAIL :</strong></p>
<ul>
<li><span style="color: #ff0000;">SERVICE</span> : I use <a href="http://gmail.com">Gmail</a> for my email. Although there is a standalone version,  I use it as part of the services provided by <a href="http://apps.google.com">Google Apps</a> for my domain (kudithipudi.org). It offers free spam protection, 7GB of space and super fast search. What else can one ask for? <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li><span style="color: #ff0000;">COST</span> : free</li>
<li><span style="color: #ff0000;">OTHER CHOICES</span> : There are several free email hosting providers. Some of the popular ones are <a href="http://www.hotmail.com">hotmail</a>, <a href="http://mail.yahoo.com">yahoo</a>, <a href="http://mail.aol.com">aol</a></li>
</ul>
<p><strong>ONLINE PRESENCE :</strong></p>
<ul>
<li><span style="color: #ff0000;">SERVICE</span> : I strongly believe that all of us have to manage our online presence. And I don&#8217;t mean just for the folks that work in technology, but everyone that uses the Internet. And that is pretty much most of the people living on planet earth <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . There are several ways to do this (and I think that is for a another blog post), but the simplest way is to ensure you have a place where you can broadcast your presence. I use this <a href="http://kudithipudi.org">blog</a> as a way to document my thoughts, share ideas and in general manage  my on-line presence. I host this blog on a <a href="http://en.wikipedia.org/wiki/Virtual_private_server">virtual server</a> that I lease from <a href="http://cloud.rackspace.com">Rackspace</a>.</li>
<li><span style="color: #ff0000;">COST</span> : $11/month</li>
<li><span style="color: #ff0000;">OTHER CHOICES</span> : I would not recommend what I am doing for most people. There are several free platforms that you can host your blog on. I just do it this way, because I like to tinker with technology. Some of the popular blogging platforms are <a href="http://www.tumblr.com">tumblr</a>, <a href="http://blogger.com">blogspot</a>, <a href="http://wordpress.com/">wordpress</a>, <a href="http://www.squarespace.com">squarespace</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2011/11/13/how-to-move-your-life-into-the-cloud/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>HOW TO : Check web services using curl</title>
		<link>http://kudithipudi.org/2011/10/31/how-to-check-web-services-using-curl/</link>
		<comments>http://kudithipudi.org/2011/10/31/how-to-check-web-services-using-curl/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 20:36:40 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=1077</guid>
		<description><![CDATA[Quick note for myself to check web services using curl ([L/U]nix utility to play with http(s) traffic) Comments on options : &#8211;insecure is used if you are testing web services served over SSL using self signed certs &#8211;trace-ascii dumps all traffic between the client (curl in this case) and the server in human readable format]]></description>
			<content:encoded><![CDATA[<p>Quick note for myself to check web services using <a href="http://curl.haxx.se/">curl</a> ([L/U]nix utility to play with http(s) traffic)</p>
<pre class="brush: plain; title: ; notranslate"> curl https://URL_TO_TEST --insecure --trace-ascii debug.txt </pre>
<p>Comments on options :<br />
&#8211;insecure is used if you are testing web services served over SSL using self signed certs<br />
&#8211;trace-ascii dumps all traffic between the client (curl in this case) and the server in human readable format</p>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2011/10/31/how-to-check-web-services-using-curl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW TO : Find the clients connecting to a NFS server</title>
		<link>http://kudithipudi.org/2011/09/01/how-to-find-the-clients-connecting-to-a-nfs-server/</link>
		<comments>http://kudithipudi.org/2011/09/01/how-to-find-the-clients-connecting-to-a-nfs-server/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 15:46:51 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=1037</guid>
		<description><![CDATA[Quick tip to find out the clients connecting to a NFS server. Check the ports that NFS uses Check the clients connecting to the server using the port from above &#160;]]></description>
			<content:encoded><![CDATA[<p>Quick tip to find out the clients connecting to a NFS server.</p>
<ul>
<li>Check the ports that NFS uses</li>
</ul>
<pre class="brush: plain; title: ; notranslate"> grep -i nfs /etc/services </pre>
<ul>
<li>Check the clients connecting to the server using the port from above</li>
</ul>
<pre class="brush: plain; title: ; notranslate"> netstat -an | grep 2049 </pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2011/09/01/how-to-find-the-clients-connecting-to-a-nfs-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW TO : Search ownership of files in Linux</title>
		<link>http://kudithipudi.org/2011/09/01/how-to-search-ownership-of-files-in-linux/</link>
		<comments>http://kudithipudi.org/2011/09/01/how-to-search-ownership-of-files-in-linux/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 14:44:41 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=1033</guid>
		<description><![CDATA[Say you have a directory with a bunch of sub directories and files and you want to see if all the files are owned by a particular user, you can use the following set of commands The set of commands do the following ls -l -R shows the list of files and directories awk prints [...]]]></description>
			<content:encoded><![CDATA[<p>Say you have a directory with a bunch of sub directories and files and you want to see if all the files are owned by a particular user, you can use the following set of commands</p>
<pre class="brush: plain; title: ; notranslate">ls DIRECTORY_PATH -l -R | awk {'print $3'} | grep -v USER_NAME</pre>
<p>The set of commands do the following</p>
<ul>
<li>ls -l -R shows the list of files and directories</li>
<li>awk prints the name of the owner of the file (it is the third column)</li>
<li>grep shows only the lines where the owner name doesn&#8217;t match</li>
</ul>
<p>And yeah.. this works in most variants of Linux <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2011/09/01/how-to-search-ownership-of-files-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HOW TO : Apache and SELinux</title>
		<link>http://kudithipudi.org/2011/08/22/how-to-apache-and-selinux/</link>
		<comments>http://kudithipudi.org/2011/08/22/how-to-apache-and-selinux/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 16:13:32 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=1021</guid>
		<description><![CDATA[Quick note for future reference.. If you ever run into errors like this And you are scratching your head why Apache is throwing these errors, even when the said directory and files exist. And you have the right permissions!! Check if you have SELinux running and being enforced. On RHEL, you can check if SELinux [...]]]></description>
			<content:encoded><![CDATA[<p>Quick note for future reference..</p>
<p>If you ever run into errors like this</p>
<pre class="brush: plain; title: ; notranslate">
&lt;pre&gt;Starting httpd: Warning: DocumentRoot [/var/www/html/static] does not exist
Warning: DocumentRoot [/var/www/html/static] does not exist
Warning: DocumentRoot [/var/www/html/static] does not exist
Warning: DocumentRoot [/var/www/html/static] does not exist
(13)Permission denied: httpd: could not open error log file /etc/httpd/logs/error_log.
Unable to open logs
                                                           [FAILED]
</pre>
<p>And you are scratching your head why Apache is throwing these errors, even when the said directory and files exist. And you have the right permissions!! Check if you have SELinux running and being enforced.<br />
On <a href="http://www.redhat.com/rhel/">RHEL</a>, you can check if <a href="http://en.wikipedia.org/wiki/Security-Enhanced_Linux">SELinux</a> is running by</p>
<pre class="brush: plain; title: ; notranslate">cat /selinux/enforce </pre>
<p>The two values are 0 and 1. 0 means, SELinux is not being enforced and 1 means it is.<br />
You can quickly disable SELinux temporarily by </p>
<pre class="brush: plain; title: ; notranslate">echo 0 &gt;/selinux/enforce </pre>
<p>If you want to disable it permanently (i.e. survive reboots), you have to edit the file /etc/selinux/config and change the SELINUX line from enabled to disabled.</pre>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2011/08/22/how-to-apache-and-selinux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HOW TO : Playbook for creating an effective IT team</title>
		<link>http://kudithipudi.org/2011/08/22/how-to-playbook-for-creating-an-effective-it-team/</link>
		<comments>http://kudithipudi.org/2011/08/22/how-to-playbook-for-creating-an-effective-it-team/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 13:13:53 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Management]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=1018</guid>
		<description><![CDATA[Tom Limoncelli put together a list of questions that are essentially a cheat-sheet to creating and running a very effective IT team. He called it the Limoncelli Test (as a tribute to the Joel Spolsky&#8216;s Joel Test) and it can be found at http://everythingsysadmin.com/the-test.html. The only additional thing I would add to the list is [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Tom Limoncelli" href="http://everythingsysadmin.com">Tom Limoncelli</a> put together a list of questions that are essentially a cheat-sheet to creating and running a very effective IT team. He called it the Limoncelli Test (as a tribute to the <a href="http://www.joelonsoftware.com/AboutMe.html">Joel Spolsky</a>&#8216;s <a href="http://www.joelonsoftware.com/articles/fog0000000043.html">Joel Test</a>) and it can be found at <a href="http://everythingsysadmin.com/the-test.html">http://everythingsysadmin.com/the-test.html</a>.</p>
<p>The only additional thing I would add to the list is to have a roadmap for the function you provide and ensure it is updated quarterly. A lot of teams spend a lot of time on what they do now, but don&#8217;t focus on what they &#8220;can&#8221; do. This is similar to IT functions spending more than 70% &#8211; 80% of their budgets on maintenance rather than innovating.</p>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2011/08/22/how-to-playbook-for-creating-an-effective-it-team/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW TO : Use grep to search for credit card numbers</title>
		<link>http://kudithipudi.org/2011/08/17/how-to-use-grep-to-search-for-credit-card-numbers/</link>
		<comments>http://kudithipudi.org/2011/08/17/how-to-use-grep-to-search-for-credit-card-numbers/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 03:20:05 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=1003</guid>
		<description><![CDATA[I was looking for a quick way to search for credit card numbers in a file and ran across this excellent post by Adrian Rollett. I tweaked his suggestion a bit to show some additional data. Original suggestion My modification The modified command will show the name of the file the number was found and [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking for a quick way to search for credit card numbers in a file and ran across <a href="http://reluctanthacker.rollett.org/creating-regex-finding-credit-card-numbers-grep">this</a> excellent post by <a href="http://twitter.com/#!/acrollet">Adrian Rollett</a>. I tweaked his suggestion a bit to show some additional data.</p>
<p>Original suggestion</p>
<pre class="brush: plain; title: ; notranslate"> grep '\(^\|[^0-9]\)\{1\}\([345]\{1\}[0-9]\{3\}\|6011\)\{1\}[-]\?[0-9]\{4\}[-]\?\[0-9]\{2\}[-]\?[0-9]\{2\}-\?[0-9]\{1,4\}\($\|[^0-9]\)\{1\}' FILE_TO_SEARCH </pre>
<p>My modification</p>
<pre class="brush: plain; title: ; notranslate"> grep '\([345]\{1\}[0-9]\{3\}\|6011\)\{1\}[ -]\?[0-9]\{4\}[ -]\?[0-9]\{2\}[-]\?[0-9]\{2\}[ -]\?[0-9]\{1,4\}' --color -H -n FILE_TO_SEARCH </pre>
<p>The modified command will show the name of the file the number was found and at which line. You can tweak it further using additional options for grep. A good reference guide can be found <a href="http://www.computerhope.com/unix/ugrep.htm">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2011/08/17/how-to-use-grep-to-search-for-credit-card-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW TO : Export and import certificates using keytool</title>
		<link>http://kudithipudi.org/2011/07/20/how-to-export-and-import-certificates-using-keytool/</link>
		<comments>http://kudithipudi.org/2011/07/20/how-to-export-and-import-certificates-using-keytool/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 19:55:51 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=990</guid>
		<description><![CDATA[Keytool is a java utility to manage SSL key databases (stores). Here are a couple of options for using this tool List the certificates in the keystore Export a particular certificate from the keystore Import a certificate into the keystore]]></description>
			<content:encoded><![CDATA[<p><a href="http://download.oracle.com/javase/6/docs/technotes/tools/windows/keytool.html">Keytool</a> is a <a href="http://www.java.com">java</a> utility to manage SSL key databases (stores). Here are a couple of options for using this tool</p>
<ul>
<li>List the certificates in the keystore</li>
</ul>
<pre class="brush: plain; title: ; notranslate">keytool -list -keystore NAME_OF_KEYSTORE_FILE </pre>
<ul>
<li>Export a particular certificate from the keystore</li>
</ul>
<pre class="brush: plain; title: ; notranslate">keytool -export -alias ALIAS_NAME_OF_CERT -keystore NAME_OF_KEYSTORE_FILE </pre>
<ul>
<li>Import a certificate into the keystore</li>
</ul>
<pre class="brush: plain; title: ; notranslate">keytool -import -alias ALIAS_NAME_YOU_WANT -keystore NAME_OF_KEYSTORE_FILE -file NAME_OF_CERT_FILE_TO_IMPORT </pre>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2011/07/20/how-to-export-and-import-certificates-using-keytool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

