<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"><channel><title>Linux-FAQ</title><link>http://linux-faq.blogspot.com/</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/blogspot/linuxWikipedia" /><description>&lt;br&gt;Linux &amp;amp; Unix tips for Java Developers.</description><language>en</language><managingEditor>noreply@blogger.com (Sachin)</managingEditor><lastBuildDate>Sat, 30 Jul 2011 14:16:28 PDT</lastBuildDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">7</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">25</openSearch:itemsPerPage><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="blogspot/linuxwikipedia" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><itunes:explicit>no</itunes:explicit><itunes:subtitle> Linux &amp;amp; Unix tips for Java Developers.</itunes:subtitle><itunes:summary> Linux &amp;amp; Unix tips for Java Developers.</itunes:summary><item><title>Debugging Shell Scripts on Unix/Linux environment</title><link>http://linux-faq.blogspot.com/2009/05/debugging-shell-scripts-on-unixlinux.html</link><category>Debug Shell Scripts</category><author>noreply@blogger.com (Sachin)</author><pubDate>Sun, 27 Sep 2009 01:04:44 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2862712235306700464.post-2465110296767727185</guid><description>I have seen many unix platform beginners struggling with shell scripts, and many of them have asked this question to me&lt;br /&gt;&lt;br /&gt;"How can I Debug a shell script?"&lt;br /&gt;&lt;br /&gt;As you may already know that shell scripts are interpreted, and every statement in your script is interpreted just before running it. So locating the problem can be easier then other languages where code is converted to binary and matching line of code with a binary code becomes difficult. Still, many people don't know that there can be different ways to debug a shell script on unix platform. I am trying to list them all as it may depend on your usage.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;-x option to debug a shell script&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;Running a shell script with -x option enables the display of commands and its arguments when they are executed.&lt;br /&gt;&lt;br /&gt; &lt;pre name="code" class="Java"&gt;  &lt;br /&gt;$ bash -x [script-name]&lt;br /&gt;    &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Look at the test.sh example below. test.sh is a a simple test shell script, which sets the path with a bin directory in my home&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;echo 'Hi'&lt;br /&gt;export PATH=$PATH:/export/home/swiki/bin&lt;br /&gt;echo $PATH&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Here is the output of running this script in a debug mode using -x option for bash command.&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;&lt;br /&gt;$ /bin/bash -x test.sh&lt;br /&gt;&lt;br /&gt;+ echo Hi&lt;br /&gt;Hi&lt;br /&gt;+ export PATH=:/export/home/swiki/bin&lt;br /&gt;+ PATH=:/export/home/swiki/bin&lt;br /&gt;+ echo :/export/home/swiki/bin&lt;br /&gt;:/export/home/swiki/bin&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Using "set" command debug options&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;Bash shell offers debugging options which can be turn on or off using set command.&lt;br /&gt;Below are the two options, which can be used to debug any script in a bash shell.&lt;br /&gt;&lt;br /&gt;- set -x : Print commands and their arguments as they are executed.&lt;br /&gt;- set -v : Print shell input lines as they are read.&lt;br /&gt;&lt;br /&gt;You can use above two command in shell script itself like below:&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;&lt;br /&gt;#Turn on Debug mode&lt;br /&gt;set -x&lt;br /&gt;set -v&lt;br /&gt;echo 'Hi'&lt;br /&gt;export PATH=$PATH:/export/home/swiki/bin&lt;br /&gt;echo $PATH&lt;br /&gt;#Turn off Debug mode&lt;br /&gt;set +x&lt;br /&gt;set +v&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The output of running this script with bash will be&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;&lt;br /&gt;$ /bin/bash test.sh&lt;br /&gt;&lt;br /&gt;+ set -v&lt;br /&gt;+ echo Hi&lt;br /&gt;Hi&lt;br /&gt;+ export PATH=:/export/home/swiki/bin&lt;br /&gt;+ PATH=:/export/home/swiki/bin&lt;br /&gt;+ echo :/export/home/swiki/bin&lt;br /&gt;:/export/home/swiki/bin&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Use of a DEBUG function&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;Add a variable DEBUG_ENABLE on top of your script and set it to parameter value from command line. In this example I am taking the first parameter of the script.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;DEBUG_ENABLE=$1&lt;br /&gt;function DEBUG()&lt;br /&gt;{&lt;br /&gt;if [ "$DEBUG_ENABLE" == "debug" ]&lt;br /&gt;then&lt;br /&gt;  $@&lt;br /&gt;fi&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;DEBUG set -x&lt;br /&gt;DEBUG set -v&lt;br /&gt;echo 'Hi'&lt;br /&gt;export PATH=$PATH:~/bin&lt;br /&gt;echo $PATH&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;All the calls to debug related setting should be prefixed by DEBUG function call, this will make sure you don't execute them when you are not debugging.&lt;br /&gt;In this example, when you are running the script you just need to pass a parameter "debug" on the command line and the script will run in debug mode.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;$ /bin/bash test.sh debug&lt;br /&gt;&lt;br /&gt;+ DEBUG set -v&lt;br /&gt;+ '[' debug == debug ']'&lt;br /&gt;+ set -v&lt;br /&gt;+ echo Hi&lt;br /&gt;Hi&lt;br /&gt;+ export PATH=:/export/home/swiki/bin&lt;br /&gt;+ PATH=:/export/home/swiki/bin&lt;br /&gt;+ echo :/export/home/swiki/bin&lt;br /&gt;:/export/home/swiki/bin&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Externalizing the Debugging to a debug script &lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;The above mentioned DEBUG function technique can be commonly used to debug many scripts. So it will not make sense to keep the same DEBUG function inside each script.&lt;br /&gt;A simple way is to create a debug.sh script and source it while running a script. The command line parameter will still stand good for this.&lt;br /&gt;&lt;br /&gt;Below are the content of debug.sh script&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;&lt;br /&gt;$ cat debug.sh&lt;br /&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;_DEBUG=$1&lt;br /&gt;function DEBUG()&lt;br /&gt;{&lt;br /&gt;if [ "$_DEBUG" == "debug" ]&lt;br /&gt;then&lt;br /&gt;  $@&lt;br /&gt;fi&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;DEBUG set -x&lt;br /&gt;DEBUG set -v&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;To use this debug script in your actual script you just need to make a call to the debug.sh as shown below&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;&lt;br /&gt;source ./debug.sh&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;So now our original test.sh script looks like this&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;source ./debug.sh&lt;br /&gt;echo 'Hi'&lt;br /&gt;export PATH=$PATH:~/bin&lt;br /&gt;echo $PATH&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now if you run the script with "debug" option then this will be the output.&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;$ /bin/bash test.sh debug&lt;br /&gt;&lt;br /&gt;++ DEBUG set -v&lt;br /&gt;++ '[' debug == debug ']'&lt;br /&gt;++ set -v&lt;br /&gt;&lt;br /&gt;echo 'Hi'&lt;br /&gt;+ echo Hi&lt;br /&gt;Hi&lt;br /&gt;+ export PATH=:/export/home/swiki/bin&lt;br /&gt;+ PATH=:/export/home/swiki/bin&lt;br /&gt;+ echo :/export/home/swiki/bin&lt;br /&gt;:/export/home/swiki/bin&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;If you have noticed the two plust signs (++) at the beginning of outuput, it shows that a script is called inside another script. &lt;br /&gt;&lt;br /&gt;Personally I like the last option of externalizing the scripts debugging in case you are writing many scripts. If you write a script once in a while then using the "set -x" option would be easiest/quickest thing to do debugging.&lt;br /&gt;&lt;br /&gt;Hope this will make your unix script debugging simpler than before. Don't forget to share with us if you know a better way of debugging unix scripts.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style='display:none'&gt;&lt;br /&gt;unix debug script, shell script debug, linux script debug, linux debug script, debugging shell script, debug bash script on linux,debug bash script on unix, debug function to debug linux scripts, debug script for debugging scripts&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2862712235306700464-2465110296767727185?l=linux-faq.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YY8cNZxSHbcNdJ32KXdIxb4xO90/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YY8cNZxSHbcNdJ32KXdIxb4xO90/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YY8cNZxSHbcNdJ32KXdIxb4xO90/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YY8cNZxSHbcNdJ32KXdIxb4xO90/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/linuxWikipedia?a=dOF1nznS12U:F7BRtTKIplA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/linuxWikipedia?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/linuxWikipedia?a=dOF1nznS12U:F7BRtTKIplA:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/linuxWikipedia?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/linuxWikipedia?a=dOF1nznS12U:F7BRtTKIplA:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/linuxWikipedia?i=dOF1nznS12U:F7BRtTKIplA:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-27T01:04:44.202-07:00</app:edited></item><item><title>GlassFish Best Practices: Setting Automatic Start for GlassFish v2 Cluster Node Agents</title><link>http://linux-faq.blogspot.com/2009/04/glassfish-best-practices-setting.html</link><category>GlassFish</category><category>Automatic Restart</category><category>GlassFish Clustering</category><author>noreply@blogger.com (Sachin)</author><pubDate>Fri, 28 May 2010 23:38:16 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2862712235306700464.post-2365867054415756658</guid><description>We are trying to run GlassFish V2 on Linux machine and every time we try to restart the node agents using asadmin command it used to prompt password for user as well as master password. We had tough time figuring this out. It was easy for us to setup autostart for the domains but for node agents its was not clearly mentioned anywhere.  &lt;br /&gt;
&lt;a href="http://www.fromdev.com/2009/04/glassfish-best-practices-setting.html"&gt;[Continue Reading]&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2862712235306700464-2365867054415756658?l=linux-faq.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/bj1c5gQZtOrj-GDUOzhhW3qfu_4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/bj1c5gQZtOrj-GDUOzhhW3qfu_4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/bj1c5gQZtOrj-GDUOzhhW3qfu_4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/bj1c5gQZtOrj-GDUOzhhW3qfu_4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/linuxWikipedia?a=D5CI_Y4EVNA:SteK49j9mCw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/linuxWikipedia?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/linuxWikipedia?a=D5CI_Y4EVNA:SteK49j9mCw:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/linuxWikipedia?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/linuxWikipedia?a=D5CI_Y4EVNA:SteK49j9mCw:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/linuxWikipedia?i=D5CI_Y4EVNA:SteK49j9mCw:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-28T23:38:16.223-07:00</app:edited></item><item><title>Command line deployment at Linux/Unix for Sun GlassFish Enterprise Server</title><link>http://linux-faq.blogspot.com/2009/04/command-line-deployment-at-linuxunix.html</link><category>GlassFish</category><category>Deployment</category><category>Linux</category><category>Unix</category><author>noreply@blogger.com (Sachin)</author><pubDate>Sat, 29 May 2010 00:24:40 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2862712235306700464.post-6390352937462452315</guid><description>I have always liked the command line deployment on any application server. I still don't trust the admin console for deploying my war file on any server.&lt;br /&gt;
Many times I have observed that the server doesn't respond if there is a problem in deployment.&lt;br /&gt;
Therefore I prefer the command line deployment. Here are few simple steps, which can be used to do web application war file deployment on glassfish server running at Unix/Linx machine.&lt;br /&gt;
&lt;a href="http://www.fromdev.com/2009/04/command-line-deployment-at-linuxunix.html"&gt;[Continue Reading]&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2862712235306700464-6390352937462452315?l=linux-faq.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qW-fQMSRk-WRFdnyplQNMgKaMHI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qW-fQMSRk-WRFdnyplQNMgKaMHI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qW-fQMSRk-WRFdnyplQNMgKaMHI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qW-fQMSRk-WRFdnyplQNMgKaMHI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/linuxWikipedia?a=x8Pgy3BjA_s:8jtvf2pHMyM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/linuxWikipedia?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/linuxWikipedia?a=x8Pgy3BjA_s:8jtvf2pHMyM:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/linuxWikipedia?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/linuxWikipedia?a=x8Pgy3BjA_s:8jtvf2pHMyM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/linuxWikipedia?i=x8Pgy3BjA_s:8jtvf2pHMyM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-29T00:24:40.098-07:00</app:edited></item><item><title>Linux Web Browsers - Where is user friendliness ?</title><link>http://linux-faq.blogspot.com/2009/02/linux-web-browsers-where-is-user_19.html</link><category>Linux Web Browsers</category><author>noreply@blogger.com (Sachin)</author><pubDate>Thu, 19 Feb 2009 20:05:17 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2862712235306700464.post-772168238850665313</guid><description>I  recently started using Fedora Linux from my Sony VAIO Laptop and was trying to get another browser other then Firefox for my system. I was surprised to know that only Firefox is a decent browser available for Linux users. Its not that I don't like Firefox but I always liked to use multiple browsers on a system. I like to experiment and like different things in different browsers. For example to quickly launch a browser window "Google-Chrome" is best browser as it launches very well. Where as for JavaScript developement I prefer Mozilla Firefox as it has Firebug and other plugins for debugging. Internet explorer still remains one of the most popular browsers so I have always tested my web applications on different versions of this browser.&lt;br /&gt;&lt;br /&gt;Linux is such an old operating system and Fedora/Red Hat version have really made it user friendly. But its still not their to the level of dumb user friendliness. I always liked using unix environments, like most developers do, but if I want my father use this this Laptop with Linux installed then its going to be impossible for him to even start using it.&lt;br /&gt;&lt;br /&gt;Just a small example, I opened YouTube on Firefox and see a message saying "Either JavaScript is disabled, or you have old version of Flash Player.". So I clicked the link do download the FlashPlayer linux version. Here are the steps I had to do&lt;br /&gt;&lt;br /&gt;1. Find the Linux tar file&lt;br /&gt;2. Extract the tar file.&lt;br /&gt;3. Copy the .so library file in ~/.mozila/plugin directory.&lt;br /&gt;&lt;br /&gt;For me it was easy to do and understandable, but when I think about my father who doesn't know about how computers/softwares work its going to be almost impossible. I don't know why this can not be done the way its done in Windows systems? Why this great open source stuff can't still do that level of automation.&lt;br /&gt;&lt;br /&gt;I have seen google doing great things in different areas, but am disaapointed to see that Chrome doesn't work on Linux.&lt;br /&gt;&lt;br /&gt;Here are few browsers I found for Linux systems, but none of them as powerfull as Mozilla Firefox.&lt;br /&gt;&lt;br /&gt;1. Amaya: The Amaya software is written in C and is available for Windows, Unix platforms and MacOS X. You can read more about this at &lt;a href="http://www.w3.org/Amaya/" target="_blank"&gt;http://www.w3.org/Amaya&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. Galeon: Galeon is a GNOME Web browser based on Gecko (the mozilla layout engine).&lt;br /&gt;&lt;br /&gt;3. Konqueror: Konqueror is an Open Source web browser with HTML 4.01 compliance.&lt;br /&gt;&lt;br /&gt;4. Lynx: Lynx is a text based browser. Certainly not user friendly as text based browsing is not easy for every user.&lt;br /&gt;&lt;br /&gt;5. Netscape Navigator: Its one of the oldest Linux supported browsers. I have not seen much of development on this recently.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2862712235306700464-772168238850665313?l=linux-faq.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NiqeNVqdENRyGPlrpIYUolldmPs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NiqeNVqdENRyGPlrpIYUolldmPs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NiqeNVqdENRyGPlrpIYUolldmPs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NiqeNVqdENRyGPlrpIYUolldmPs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?a=LfG4QTBO"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?a=gl1m9GjY"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?d=42" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?a=kwhnOTjP"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?i=kwhnOTjP" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-19T20:05:17.987-08:00</app:edited></item><item><title>Debugging Java on Unix/Linux: My Favorite Unix commands</title><link>http://linux-faq.blogspot.com/2008/12/debugging-java-on-unixlinux-my-favorite.html</link><category>Java Linux Commands</category><author>noreply@blogger.com (Sachin)</author><pubDate>Fri, 28 May 2010 23:45:09 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2862712235306700464.post-456044710601342180</guid><description>&lt;div style="display: none;"&gt;&lt;br /&gt;
A collection of really powerful unix/linux commands for a Java Developer to empower while debugging on Unix flavor operating systems like Linux(Ubuntu, RedHat,Fedora), Solaris etc. &lt;br /&gt;
Debug Java on Linux, Debugging Java Linux, Debug Java Linux command, Debug Java Linux commands, Debug Java unix, Debug Java Sun Solaris, Powerful Linux commands for java developers, Simple Debug commands for Java on Linux, how to Debug Java process on Linux platform. Java on Linux commands, Java on unix commands,&lt;br /&gt;
debug Java,Java for unix,jstack analysis, pstack analysis, lsof analysis java, jmap analysis, Java process analysis unix,strace analysis java unix, ps analysis Java unix, Analyzing java process on unix, jstak for JVM threads analysis, strace JVM analysis,lsof JVM analysis, strace JMV debug on unix, truss linux, linux process management, linux cpu utilization, top command linux, linux monitoring tools, monitor linux server, linux monitors, linux monitoring software,ubuntu truss, top grep, top command &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;span style="font-family: sans-serif;"&gt;Linux operting system is very powerful and if we know the correct tools to debug its much easier then any other operating system. Here are few good commands to be used while debugging things on Linux/Unix environment. &lt;/span&gt;&lt;br /&gt;
&lt;a href="http://www.fromdev.com/2008/12/debugging-java-on-unixlinux-my-favorite.html"&gt;[Continue reading]&lt;/a&gt;&lt;br /&gt;
&lt;span style="font-family: sans-serif;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2862712235306700464-456044710601342180?l=linux-faq.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7YyrVAe93szfEQ67P3PJ79UuFP8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7YyrVAe93szfEQ67P3PJ79UuFP8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7YyrVAe93szfEQ67P3PJ79UuFP8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7YyrVAe93szfEQ67P3PJ79UuFP8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?a=2e7elGlp"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?a=8zltCy5K"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?d=42" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?a=Dcl5a4RV"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?i=Dcl5a4RV" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-28T23:45:09.490-07:00</app:edited></item><item><title>Linux: Resetting a user's password</title><link>http://linux-faq.blogspot.com/2008/10/linux-resetting-users-password.html</link><category>Resetting Password</category><author>noreply@blogger.com (Sachin)</author><pubDate>Mon, 23 Mar 2009 10:41:48 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2862712235306700464.post-5011387041442967245</guid><description>Question:  How do I reset a user’s password under any Linux distribution from command prompt?&lt;br /&gt;&lt;br /&gt;Answer:  To reset a user’s password, use passwd command. You have to change it to a different password.&lt;br /&gt;Login as the root user&lt;br /&gt;Open terminal or shell prompt&lt;br /&gt;Type the following command:&lt;br /&gt;# passwd username&lt;br /&gt;For example, reset a tom’s password, enter:&lt;br /&gt;# passwd john&lt;br /&gt;Type a password [...]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2862712235306700464-5011387041442967245?l=linux-faq.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Y5t-QzMgAuFd8FWd1VBgZvx-tfE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Y5t-QzMgAuFd8FWd1VBgZvx-tfE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Y5t-QzMgAuFd8FWd1VBgZvx-tfE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Y5t-QzMgAuFd8FWd1VBgZvx-tfE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?a=emggFsTy"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?a=u6UDlkpI"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?d=42" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?a=LBD3cefE"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?i=LBD3cefE" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-23T10:41:48.939-07:00</app:edited></item><item><title>Unix/Linux Display Variable</title><link>http://linux-faq.blogspot.com/2008/05/display-variable.html</link><category>Display Variable</category><author>noreply@blogger.com (Sachin)</author><pubDate>Sun, 07 Jun 2009 09:04:41 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2862712235306700464.post-6172474446179894583</guid><description>&lt;div style='display:none'&gt;&lt;br /&gt;Unix Linux set display variable, setting display variable, what is display variable, export display variable, set env display variable value,how to set display variable,Command to set display variable, set command DISPLAY variable, remote display on unix, display unix screen on windows&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Using Linux, and especially configuring Linux, normally require some insight, and we strongly suggest (to inexperienced Linux users) to get some help from a system administrator.&lt;br /&gt;&lt;br /&gt;In short, you must open up a shell (csh, bash, etc), so that it is possible to issue commands on Linux. Then you must enter the commands to set the environment variable, as explained in the setup-instructions.&lt;br /&gt;&lt;br /&gt;You must make sure that the command for setting the DISPLAY variable is called before starting the application server.&lt;br /&gt;&lt;br /&gt;There are many discussions/guides on the Internet regarding this issue. Here is an extract from one:&lt;br /&gt;&lt;br /&gt;1. What is DISPLAY variable?&lt;br /&gt;&lt;br /&gt;The magic word is DISPLAY. In the X window system, a display consists (simplified) of a keyboard, a mouse and a screen. A display is managed by a server program, known as an X server. The server serves displaying capabilities to other programs that connect to it.&lt;br /&gt;&lt;br /&gt;A display is indicated with a name, for instance:&lt;br /&gt;&lt;br /&gt;* DISPLAY=my.company.desktop:0&lt;br /&gt;* DISPLAY=localhost:4&lt;br /&gt;* DISPLAY=:0&lt;br /&gt;&lt;br /&gt;The display consists of a hostname (e.g. my.company.desktop, localhost), a colon (:), and a sequence number (e.g. 0 and 4). The hostname of the display is the name of the computer where the X server runs. An omitted hostname means the local host. The sequence number is usually 0. It can vary if there are multiple displays connected to one computer.&lt;br /&gt;&lt;br /&gt;If you ever come across a display indication with an extra .n attached to it, that's the screen number. A display can actually have multiple screens. Usually there's only one screen though, with number n=0.&lt;br /&gt;&lt;br /&gt;Other forms of DISPLAY exist, but this will do for our purposes.&lt;br /&gt;&lt;br /&gt;2. Telling the Client&lt;br /&gt;&lt;br /&gt;The client program (for instance, your graphics application) knows which display to connect to by inspecting the DISPLAY environment variable. This setting can be overridden, though, by giving the client the command line argument -display hostname:0 when it's started. Some examples may clarify things.&lt;br /&gt;&lt;br /&gt;Our computer is known to the outside as my.company.desktop, and we're in domain my.company.desktop. If we're running a normal X server, the display is known as&lt;br /&gt;my.company.desktop:0. We want to run the drawing program xfig on a remote computer, called my.remote.machine, and display its output here on my.company.desktop.&lt;br /&gt;&lt;br /&gt;If you have csh running on the remote computer:&lt;br /&gt;&lt;br /&gt;remote% setenv DISPLAY my.company.desktop:0&lt;br /&gt;remote% xfig &amp;&lt;br /&gt;&lt;br /&gt;Or alternatively:&lt;br /&gt;&lt;br /&gt;remote% xfig -display my.company.desktop:0 &amp;&lt;br /&gt;&lt;br /&gt;If you have sh running on the remote computer:&lt;br /&gt;&lt;br /&gt;remote$ DISPLAY=my.company.desktop:0&lt;br /&gt;remote$ export DISPLAY&lt;br /&gt;remote$ xfig &amp;&lt;br /&gt;&lt;br /&gt;Or &lt;br /&gt;&lt;br /&gt;remote$ DISPLAY=my.company.desktop:0 xfig &amp;&lt;br /&gt;&lt;br /&gt;Or &lt;br /&gt;&lt;br /&gt;remote$ xfig -display my.company.desktop:0 &amp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It seems that some versions of telnet automatically transport the DISPLAY variable to the remote host. If you have one of those, you are lucky, and it's automatic. If not, most versions of telnet do transport the TERM environment variable; with some judicious hacking it is possible to piggyback the DISPLAY variable on to the TERM&lt;br /&gt;variable."&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2862712235306700464-6172474446179894583?l=linux-faq.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Rdsn2W5cg9QJbyQuqSew-xFr_fE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Rdsn2W5cg9QJbyQuqSew-xFr_fE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Rdsn2W5cg9QJbyQuqSew-xFr_fE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Rdsn2W5cg9QJbyQuqSew-xFr_fE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?a=5sTXwptN"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?a=WJ8VOLow"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?d=42" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?a=6uzX7vVw"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/linuxWikipedia?i=6uzX7vVw" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-07T09:04:41.826-07:00</app:edited></item><media:rating>nonadult</media:rating></channel></rss>

