<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DU4NR3YzeSp7ImA9WxNbFEU.&quot;"><id>tag:blogger.com,1999:blog-3125788721434075940</id><updated>2009-11-17T11:59:56.881-08:00</updated><title>Cognitive Insight</title><subtitle type="html">Insight on what I learn from my everyday experiences at work, home, travel...</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://cognitiveinsight.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://cognitiveinsight.blogspot.com/" /><link rel="hub" href="http://pubsubhubbub.appspot.com/" /><author><name>Seshu Karthick</name><uri>http://www.blogger.com/profile/18282422170910890521</uri><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><link rel="self" href="http://feeds.feedburner.com/CognitiveInsight" type="application/atom+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><entry gd:etag="W/&quot;DEICRHc-cSp7ImA9WxRREUw.&quot;"><id>tag:blogger.com,1999:blog-3125788721434075940.post-4359355767379778895</id><published>2008-09-22T13:44:00.000-07:00</published><updated>2008-09-22T13:49:25.959-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-22T13:49:25.959-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="unix" /><title>SFTP to remote system using Virtual-IP</title><content type="html">SFTP programmatically without interruption to a remote-system that uses Virtual-IP (physical box is subjected to change) with the following options.&lt;br /&gt;&lt;br /&gt;sftp -o &lt;span style="font-weight:bold;"&gt;PasswordAuthentication=no&lt;/span&gt; -o &lt;span style="font-weight:bold;"&gt;StrictHostKeyChecking=no&lt;/span&gt; &lt;remote-system&gt; &lt;br /&gt;&lt;br /&gt;This will add the remote hostname to ~/.ssh/known_hosts file automatically without interruption.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3125788721434075940-4359355767379778895?l=cognitiveinsight.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CognitiveInsight/~4/nY4MTRq_b0c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://cognitiveinsight.blogspot.com/feeds/4359355767379778895/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3125788721434075940&amp;postID=4359355767379778895" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/4359355767379778895?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/4359355767379778895?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CognitiveInsight/~3/nY4MTRq_b0c/sftp-to-remote-system-using-virtual-ip.html" title="SFTP to remote system using Virtual-IP" /><author><name>Seshu Karthick</name><uri>http://www.blogger.com/profile/18282422170910890521</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="02007728461176486342" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://cognitiveinsight.blogspot.com/2008/09/sftp-to-remote-system-using-virtual-ip.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YNQH0ycSp7ImA9WxRTE0o.&quot;"><id>tag:blogger.com,1999:blog-3125788721434075940.post-440428983425330352</id><published>2008-09-02T08:56:00.000-07:00</published><updated>2008-09-02T08:59:51.399-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-02T08:59:51.399-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="unix" /><title>Grep text recursively in Unix</title><content type="html">Using the pattern keyword: &lt;br /&gt; grep pattern * */* */*/* 2&gt;/dev/null &lt;br /&gt;&lt;br /&gt;The simplistic approach using find is:&lt;br /&gt; find /startdir -exec grep whatever {} dev/null \; &lt;br /&gt;&lt;br /&gt;That's not necessarily very efficient. Using xargs can help&lt;br /&gt; find . -name *.xml | xargs grep whatever&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3125788721434075940-440428983425330352?l=cognitiveinsight.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CognitiveInsight/~4/EP8KWJBC_v0" height="1" width="1"/&gt;</content><link rel="related" href="http://aplawrence.com/Unixart/recursivegrep.html" title="Grep text recursively in Unix" /><link rel="replies" type="application/atom+xml" href="http://cognitiveinsight.blogspot.com/feeds/440428983425330352/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3125788721434075940&amp;postID=440428983425330352" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/440428983425330352?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/440428983425330352?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CognitiveInsight/~3/EP8KWJBC_v0/grep-text-recursively-in-unix.html" title="Grep text recursively in Unix" /><author><name>Seshu Karthick</name><uri>http://www.blogger.com/profile/18282422170910890521</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="02007728461176486342" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://cognitiveinsight.blogspot.com/2008/09/grep-text-recursively-in-unix.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0QERH8-cCp7ImA9WxZbE0w.&quot;"><id>tag:blogger.com,1999:blog-3125788721434075940.post-179056477150493205</id><published>2008-04-15T11:51:00.001-07:00</published><updated>2008-04-15T20:08:25.158-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-15T20:08:25.158-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mod_jk" /><category scheme="http://www.blogger.com/atom/ns#" term="hosting" /><category scheme="http://www.blogger.com/atom/ns#" term="apache" /><category scheme="http://www.blogger.com/atom/ns#" term="tomcat" /><category scheme="http://www.blogger.com/atom/ns#" term="eapps" /><title>Using Mod_JK as Apache-Tomcat connector</title><content type="html">Apache runs securely on port 80. Tomcat runs securely on port 8080, which means that the default URL of your application will be something like http://mydomain.com:8080. With mod_jk, you can run Tomcat securely on it's normal port and have Apache forward requests to Tomcat. This will eliminate the 8080 from URL. Ref: &lt;a href="https://support.eapps.com/index.php?_m=knowledgebase&amp;_a=viewarticle&amp;kbarticleid=75"&gt;Eapps User Guide to setup Tomcat&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For instance: In Eapps hosting, these can be seen in the Custom Settings tab of the Website settings area, on the Site tab in your control panel.&lt;br /&gt;&lt;blockquote&gt;JkMount /spring* ajp13&lt;br /&gt;JkMount /* ajp13&lt;/blockquote&gt;This setting gets reflected in httpd.conf file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3125788721434075940-179056477150493205?l=cognitiveinsight.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CognitiveInsight/~4/k8wyAznjfX8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://cognitiveinsight.blogspot.com/feeds/179056477150493205/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3125788721434075940&amp;postID=179056477150493205" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/179056477150493205?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/179056477150493205?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CognitiveInsight/~3/k8wyAznjfX8/using-modjk-as-apache-tomcat-connector.html" title="Using Mod_JK as Apache-Tomcat connector" /><author><name>Seshu Karthick</name><uri>http://www.blogger.com/profile/18282422170910890521</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="02007728461176486342" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://cognitiveinsight.blogspot.com/2008/04/using-modjk-as-apache-tomcat-connector.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UHSX88fip7ImA9WxZQF08.&quot;"><id>tag:blogger.com,1999:blog-3125788721434075940.post-2295535223850040984</id><published>2008-02-21T17:58:00.000-08:00</published><updated>2008-02-22T15:00:38.176-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-02-22T15:00:38.176-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mobile" /><title>Enable Sync Option for T-Mobile Moto Razr</title><content type="html">If you have a Motorola Razr phone from T-Mobile, you would have noticed that it lacks the sync option under Menu-Settings-Connection. Here is a hack I used to overcome the handicap.&lt;br /&gt;&lt;br /&gt;Motorola RAZR V3 supports SyncML. However, T-Mobile apparently disabled that feature for their own versions of V3. &lt;a href="http://linux.junsun.net/misc/tmobile-v3-syncml/"&gt;Click here&lt;/a&gt; to get simple step-by-step guide in enabling it again. For guidance on how to do seem editing, refer to &lt;a href="http://www.planetmotox.net/motox101/seem_editing.htm"&gt;this page&lt;/a&gt; for instructions and screenshots.&lt;br /&gt;&lt;br /&gt;Troubleshooting:&lt;br /&gt;After connecting your Motorola phone to the PC, the P2Kman should be able to connect to it. If you do not have the correct driver installed, P2Kman can not detect the presence of your mobile phone. For Windows XP/Vista users,  install the drivers from &lt;a href="http://www.motox.info/showthread.php?t=18372"&gt;MotoX Forums&lt;/a&gt; to fix it.&lt;br /&gt;&lt;br /&gt;Once the sync option is enabled on T-Mobile Moto Razr, you can use services like &lt;a href="http://zyb.com"&gt;Zyb&lt;/a&gt; and &lt;a href="http://GooSync.com"&gt;GooSync&lt;/a&gt; to sync your mobile with various web services.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3125788721434075940-2295535223850040984?l=cognitiveinsight.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CognitiveInsight/~4/Qqgf9VQ4jv8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://cognitiveinsight.blogspot.com/feeds/2295535223850040984/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3125788721434075940&amp;postID=2295535223850040984" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/2295535223850040984?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/2295535223850040984?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CognitiveInsight/~3/Qqgf9VQ4jv8/enable-sync-option-for-t-mobile-moto.html" title="Enable Sync Option for T-Mobile Moto Razr" /><author><name>Seshu Karthick</name><uri>http://www.blogger.com/profile/18282422170910890521</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="02007728461176486342" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://cognitiveinsight.blogspot.com/2008/02/enable-sync-option-for-t-mobile-moto.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUIMR3k7eyp7ImA9WB9WFU0.&quot;"><id>tag:blogger.com,1999:blog-3125788721434075940.post-5545227174741151713</id><published>2007-11-19T12:05:00.000-08:00</published><updated>2007-11-19T12:19:46.703-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-19T12:19:46.703-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>Switching SE Linux  ON/OFF</title><content type="html">I had setup a CGI script on a linux box, and set all permissions right. Yet, I get a "403 Forbidden" page when I access the script via Apache web server. On digging, here is what I found...&lt;br /&gt;&lt;br /&gt;Fedora Core 3 introduced the concept of security contexts as part of the Security Enhanced Linux (SELinux) definition. A Web page may have the right permissions, but the Apache httpd daemon won't be able to read it unless you assign it the correct security context or daemon access permissions. Context-related configuration errors will give "403 Forbidden" browser messages. &lt;a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch20_:_The_Apache_Web_Server"&gt;Click here&lt;/a&gt; to learn how to setup the security context.&lt;br /&gt;&lt;br /&gt;To avoid the hassle of setting up a security context, we can just turn OFF the SE Linux mode.&lt;br /&gt;To view the mode: $ getenforce&lt;br /&gt;&lt;br /&gt;To turn OFF the SE Linux mode&lt;br /&gt;$ setenforce Permissive&lt;br /&gt;$ vi /etc/sysconfig/selinux ; Set the property 'SELINUX' to disabled or permissive&lt;br /&gt;&lt;br /&gt;To turn ON the SE Linux mode:&lt;br /&gt;$ setenforce Enforcing&lt;br /&gt;$ vi /etc/sysconfig/selinux ; Set the property 'SELINUX' to enforcing&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3125788721434075940-5545227174741151713?l=cognitiveinsight.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CognitiveInsight/~4/jBkGBZidvx0" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/5545227174741151713?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/5545227174741151713?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CognitiveInsight/~3/jBkGBZidvx0/switching-se-linux-onoff.html" title="Switching SE Linux  ON/OFF" /><author><name>Seshu Karthick</name><uri>http://www.blogger.com/profile/18282422170910890521</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="02007728461176486342" /></author><feedburner:origLink>http://cognitiveinsight.blogspot.com/2007/11/switching-se-linux-onoff.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkcGRX49eSp7ImA9WB9WFEk.&quot;"><id>tag:blogger.com,1999:blog-3125788721434075940.post-9125644129430290284</id><published>2007-11-14T16:12:00.000-08:00</published><updated>2007-11-18T20:53:44.061-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-18T20:53:44.061-08:00</app:edited><title>Upcoming</title><content type="html">Here is what I'm up to... Some of the technologies that I will begin to play with include:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Groovy &amp;amp; Grails : This will help me to quickly build a prototype of what I wanted. Its very useful to test the waters before diving in.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;SOA : I'm looking at OSGI (implemented by Equinox) and Oracle's platform for OSGI. This knowledge is crucial in order to architect a Software system.&lt;/li&gt;&lt;li&gt;Various Unit Test frameworks&lt;br /&gt;&lt;/li&gt;&lt;li&gt;New features of Java 1.5, 1.6, 1.7 : Purely for the purpose of Coding&lt;/li&gt;&lt;li&gt;Security aspects offered by Java &amp;amp; Enterprise Java&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;Look forward for posts revolving around the above topics soon...&lt;br /&gt;&lt;br /&gt;UPDATE: The list of resources I am using to learn the above tech stuff are ...&lt;br /&gt;The &lt;a href="http://groovy.codehaus.org/Documentation"&gt;official Groovy Documentation&lt;/a&gt; beginning with 'Getting Started Guide'&lt;br /&gt;A free ebook '&lt;a href="http://www.infoq.com/minibooks/grails"&gt;Getting started with Grails&lt;/a&gt;'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3125788721434075940-9125644129430290284?l=cognitiveinsight.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CognitiveInsight/~4/CaHfLa6niEo" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/9125644129430290284?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/9125644129430290284?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CognitiveInsight/~3/CaHfLa6niEo/upcoming.html" title="Upcoming" /><author><name>Seshu Karthick</name><uri>http://www.blogger.com/profile/18282422170910890521</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="02007728461176486342" /></author><feedburner:origLink>http://cognitiveinsight.blogspot.com/2007/11/upcoming.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUEHQn07eip7ImA9WB9WFU0.&quot;"><id>tag:blogger.com,1999:blog-3125788721434075940.post-8813439836512215531</id><published>2007-10-31T12:50:00.000-07:00</published><updated>2007-11-19T12:20:33.302-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-19T12:20:33.302-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>Bulk rename in Unix</title><content type="html">To change .htm files to .html&lt;br /&gt;$for file in *.htm ; do mv $file `echo $file | sed 's/\(.*\.\)htm/\1html/'` ; done&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3125788721434075940-8813439836512215531?l=cognitiveinsight.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CognitiveInsight/~4/gk0ouOh6rqE" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/8813439836512215531?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/8813439836512215531?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CognitiveInsight/~3/gk0ouOh6rqE/bulk-rename-in-unix.html" title="Bulk rename in Unix" /><author><name>Seshu Karthick</name><uri>http://www.blogger.com/profile/18282422170910890521</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="02007728461176486342" /></author><feedburner:origLink>http://cognitiveinsight.blogspot.com/2007/10/bulk-rename-in-unix.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUEARH47fCp7ImA9WB9WFU0.&quot;"><id>tag:blogger.com,1999:blog-3125788721434075940.post-436508917044586312</id><published>2007-10-31T12:20:00.000-07:00</published><updated>2007-11-19T12:20:45.004-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-19T12:20:45.004-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>Large deletes in Unix</title><content type="html">If there are too many files to be deleted at once, the 'rm -f' command does not work. It throws up an error that states "/bin/rm: Argument list too long". So, here is a solution...&lt;br /&gt;&lt;blockquote&gt;$find -name '*.txt' -exec rm -f {} \;&lt;/blockquote&gt;&lt;br /&gt;Here we find each entry that matches the pattern *.txt, and execute the command rm -f on it.&lt;br /&gt;Courtesy: Thanks to my &lt;a href="http://www.linkedin.com/pub/2/652/299"&gt;team lead&lt;/a&gt; for this tip.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3125788721434075940-436508917044586312?l=cognitiveinsight.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CognitiveInsight/~4/vb4d0jRcexk" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/436508917044586312?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/436508917044586312?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CognitiveInsight/~3/vb4d0jRcexk/large-deletes-in-unix.html" title="Large deletes in Unix" /><author><name>Seshu Karthick</name><uri>http://www.blogger.com/profile/18282422170910890521</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="02007728461176486342" /></author><feedburner:origLink>http://cognitiveinsight.blogspot.com/2007/10/large-deletes-in-unix.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUEBRHw8fSp7ImA9WB9WFU0.&quot;"><id>tag:blogger.com,1999:blog-3125788721434075940.post-2948955491366499650</id><published>2007-10-03T08:47:00.000-07:00</published><updated>2007-11-19T12:20:55.275-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-19T12:20:55.275-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>Crash the kernel</title><content type="html">To crash the UNIX kernel, type the following on its command prompt...&lt;br /&gt;$ echo c &gt; /proc/sysrq-trigger&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3125788721434075940-2948955491366499650?l=cognitiveinsight.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CognitiveInsight/~4/Z1qyRM6DPKU" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/2948955491366499650?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/2948955491366499650?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CognitiveInsight/~3/Z1qyRM6DPKU/crash-kernel.html" title="Crash the kernel" /><author><name>Seshu Karthick</name><uri>http://www.blogger.com/profile/18282422170910890521</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="02007728461176486342" /></author><feedburner:origLink>http://cognitiveinsight.blogspot.com/2007/10/crash-kernel.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE8HRnY9cSp7ImA9WB9UGU0.&quot;"><id>tag:blogger.com,1999:blog-3125788721434075940.post-5195454009791889057</id><published>2007-08-16T09:51:00.001-07:00</published><updated>2007-12-17T07:53:57.869-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-12-17T07:53:57.869-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>Start Unix processes on bootup</title><content type="html">&lt;p&gt;The chkconfig command can be used to activate and deactivate services, and configure a service to start during bootup.&lt;/p&gt;&lt;blockquote&gt;&lt;br /&gt;$ chkconfig --list &amp;lt;service name&amp;gt;&lt;br /&gt;&lt;br /&gt;To activate[deactivate] the service during bootup:&lt;br /&gt;&lt;br /&gt;$ chkconfig --level 2345 &amp;lt;service name&amp;gt; on[off]&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3125788721434075940-5195454009791889057?l=cognitiveinsight.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CognitiveInsight/~4/aTCAf52_-t4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://cognitiveinsight.blogspot.com/feeds/5195454009791889057/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3125788721434075940&amp;postID=5195454009791889057" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/5195454009791889057?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/5195454009791889057?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CognitiveInsight/~3/aTCAf52_-t4/start-unix-processes-on-bootup.html" title="Start Unix processes on bootup" /><author><name>Seshu Karthick</name><uri>http://www.blogger.com/profile/18282422170910890521</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="02007728461176486342" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://cognitiveinsight.blogspot.com/2007/08/start-unix-processes-on-bootup.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUIMR3k7eyp7ImA9WB9WFU0.&quot;"><id>tag:blogger.com,1999:blog-3125788721434075940.post-7653410593207549862</id><published>2007-08-16T09:31:00.001-07:00</published><updated>2007-11-19T12:19:46.703-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-19T12:19:46.703-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>Logs for Redhat Clusters</title><content type="html">&lt;p&gt;&lt;/p&gt; &lt;div class="wlWriterSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:bb2644b5-59eb-42bb-b825-15c79e2cf7ba" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;del.icio.us tags: &lt;a href="http://del.icio.us/popular/redhat" rel="tag"&gt;redhat&lt;/a&gt;, &lt;a href="http://del.icio.us/popular/linux" rel="tag"&gt;linux&lt;/a&gt;, &lt;a href="http://del.icio.us/popular/cluster" rel="tag"&gt;cluster&lt;/a&gt;, &lt;a href="http://del.icio.us/popular/log" rel="tag"&gt;log&lt;/a&gt;&lt;/div&gt; &lt;p&gt;The log data for clustering is usually seen at /var/log/messages. We can edit settings, so that clustering can have its own log files (say /var/log/cluster). Open /etc/syslog.conf and append the following:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;# Log cluster event logs to /var/log/cluster  &lt;p&gt;daemon.*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /var/log/cluster&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Additionally, we can log-rotate to rotate /var/log/cluster. Open /etc/logrotate.d/syslog.conf and append the log file name. &lt;p&gt;Refer to this knowledge base article for how-to, &lt;a href="http://kbase.redhat.com/faq/FAQ_85_7763.shtm"&gt;http://kbase.redhat.com/faq/FAQ_85_7763.shtm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3125788721434075940-7653410593207549862?l=cognitiveinsight.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CognitiveInsight/~4/4Fl0VIbG484" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://cognitiveinsight.blogspot.com/feeds/7653410593207549862/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3125788721434075940&amp;postID=7653410593207549862" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/7653410593207549862?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/7653410593207549862?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CognitiveInsight/~3/4Fl0VIbG484/logs-for-redhat-clusters.html" title="Logs for Redhat Clusters" /><author><name>Seshu Karthick</name><uri>http://www.blogger.com/profile/18282422170910890521</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="02007728461176486342" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://cognitiveinsight.blogspot.com/2007/08/logs-for-redhat-clusters.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUAERno8fyp7ImA9WB9WFU0.&quot;"><id>tag:blogger.com,1999:blog-3125788721434075940.post-4698401729245959213</id><published>2007-03-12T13:28:00.000-07:00</published><updated>2007-11-19T12:21:47.477-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-19T12:21:47.477-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="php" /><title>Enable php scripts in html</title><content type="html">For Godaddy hosting, include the following line in .htaccess file.&lt;br /&gt;&lt;blockquote&gt;AddHandler x-httpd-php5 .html&lt;/blockquote&gt;This tells the server to treat all files with extension .html as PHP5 files. So now, you can add any php code to your html pages.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3125788721434075940-4698401729245959213?l=cognitiveinsight.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CognitiveInsight/~4/LqXtDMg3vGg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://cognitiveinsight.blogspot.com/feeds/4698401729245959213/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3125788721434075940&amp;postID=4698401729245959213" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/4698401729245959213?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/4698401729245959213?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CognitiveInsight/~3/LqXtDMg3vGg/enable-php-scripts-in-html.html" title="Enable php scripts in html" /><author><name>Seshu Karthick</name><uri>http://www.blogger.com/profile/18282422170910890521</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="02007728461176486342" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://cognitiveinsight.blogspot.com/2007/03/enable-php-scripts-in-html.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkMDQ3c5fyp7ImA9WBFQEkQ.&quot;"><id>tag:blogger.com,1999:blog-3125788721434075940.post-4424645377535358079</id><published>2007-03-07T09:52:00.000-08:00</published><updated>2007-03-07T10:01:12.927-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-03-07T10:01:12.927-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>Linux Xterm from Windows</title><content type="html">This shows you how you can access Linux Xterm from Windows using Putty &amp; Cygwin.&lt;br /&gt;&lt;br /&gt;Open Cygwin, and execute /usr/X11R6/bin/startxwin.bat. This will start your local X-Server. You may use any other equivalent X-Server too.&lt;br /&gt;&lt;br /&gt;Then, open &amp;amp; configure Putty as follows:&lt;br /&gt;Connection &gt; SSH &gt; X11: Check "Enable X11 forwarding"&lt;br /&gt;&lt;br /&gt;Thats it! The XTerm is enabled. Open the remote machine prompt using putty.&lt;br /&gt;&lt;br /&gt;Tips:&lt;br /&gt;When installing Cygwin for the first time, setup.exe does not install every package. Only the minimal base packages from the cygwin distribution are installed by default. You can add Cygwin/X to your installation by running setup, and selecting the 'xorg-x11-base' package from the 'X11' category.&lt;br /&gt;&lt;br /&gt;Helpful resources:&lt;br /&gt;&lt;a href="http://x.cygwin.com/"&gt;Cygwin/X&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cs.umd.edu/%7Emeesh/kmconroy/LinuxLab/index.html"&gt;Connecting to Linux lab remotely&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3125788721434075940-4424645377535358079?l=cognitiveinsight.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CognitiveInsight/~4/FaJyTtpjQWk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://cognitiveinsight.blogspot.com/feeds/4424645377535358079/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3125788721434075940&amp;postID=4424645377535358079" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/4424645377535358079?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/4424645377535358079?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CognitiveInsight/~3/FaJyTtpjQWk/linux-xterm-from-windows.html" title="Linux Xterm from Windows" /><author><name>Seshu Karthick</name><uri>http://www.blogger.com/profile/18282422170910890521</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="02007728461176486342" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://cognitiveinsight.blogspot.com/2007/03/linux-xterm-from-windows.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUHQ3g8cSp7ImA9WBFQEkQ.&quot;"><id>tag:blogger.com,1999:blog-3125788721434075940.post-8334167878475941411</id><published>2007-03-05T15:04:00.000-08:00</published><updated>2007-03-07T11:53:52.679-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-03-07T11:53:52.679-08:00</app:edited><title>First Post</title><content type="html">Testing my first post... I chose the name "&lt;span id="st" name="st" class="st"&gt;Cognitive&lt;/span&gt; &lt;span id="st" name="st" class="st"&gt;Insight&lt;/span&gt;" for this blog after some deep thinking. My other options included "Learning tree" and "Concrete Experience".&lt;br /&gt;&lt;br /&gt;BTW, below is an excerpt about the learning process.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;a href="http://www.answers.com/topic/taxonomy-of-educational-objectives" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"&gt;Bloom's Taxonomy&lt;/a&gt; divides the learning process into a six-level hierarchy, where knowledge is the lowest order of cognition and evaluation is the highest:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;    Knowledge is the memory of previously-learnt materials such as facts, terms, basic concepts and answers.&lt;/li&gt;&lt;li&gt;Comprehension is the understanding of facts and ideas by organization, comparison, translation, interpretation, and description.&lt;/li&gt;&lt;li&gt;Application is the use of new knowledge to solve problems.&lt;/li&gt;&lt;li&gt;Analysis is the examination and division of information into parts by identifying motives or causes. A person can analyze by making inferences and finding evidence to support generalizations.&lt;/li&gt;&lt;li&gt;Synthesis is the compilation of information in a new way by combining elements into pattern or proposing alternative solutions.&lt;/li&gt;&lt;li&gt;Evaluation is the presentation and defense of opinions by making judgments about information, validity of ideas or quality of work based on a set of criteria. &lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3125788721434075940-8334167878475941411?l=cognitiveinsight.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/CognitiveInsight/~4/83DI1z54Ets" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://cognitiveinsight.blogspot.com/feeds/8334167878475941411/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3125788721434075940&amp;postID=8334167878475941411" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/8334167878475941411?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3125788721434075940/posts/default/8334167878475941411?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CognitiveInsight/~3/83DI1z54Ets/first-post.html" title="First Post" /><author><name>Seshu Karthick</name><uri>http://www.blogger.com/profile/18282422170910890521</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="02007728461176486342" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://cognitiveinsight.blogspot.com/2007/03/first-post.html</feedburner:origLink></entry></feed>
