Searching in previously typed commands in linux command line

Posted August 15, 2007 by Joe
Categories: Tip

CTRL-R: reverse search in command history.

CTRL-S: forward search in command history.

To search for the next occurrence just press the appropriate key combination again.

Remote debugging Java Webstart application

Posted July 26, 2007 by Joe
Categories: Howto

  1. Download the xzy.jnlp file.
  2. Set the JAVAWS_VM_ARGS environment variable to
    -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8200 if the application runs with JDK 1.5 or lower
  3. From a console or cmd start the application with javaws xzy.jnlp or start with javaws -J”-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8200″ xyz.jnlp if you are using jdk 1.6
  4. Check that port 8200 is listening with netstat -an
    Netstat output
  5. Check your firewall settings.
  6. Define a new “Remote Java Applcation’ in Eclipse
  7. Set the IP and port.
  8. Start debugging.

(Source: Java forum & Trouble shooting and debugging guide)

Blogged with Flock

SQLPLus on Linux – get UP, DOWN, LEFT, RIGHT and other keys working

Posted July 25, 2007 by Joe
Categories: Software, Tip

sudo apt-get install rlfe

Adding the following line to ~/.bashrc
alias sqlplus=’rlfe sqlplus’

(Found on: Paul Done’s Blog @Dev2Dev)

Blogged with Flock