« Sizing your Buffer Pool | Main | Tracing a script in Unix/Linux »

Netcat Tool

Its been long time since i posted on my blog, i have been very busy at the new project. I recently came across a new unix utility called Netcat. Netcat allows you send and receive data across the machines using TCP/UDP Protocols.

For example if i need to tar an oracle home and and untar on the target server i can use the following commands

On Source


  • cd $ORACLE_HOME

  • tar cvf - * | netcat <TARGET host><SOME port>

On Target


  • cd to destination ORACLE_HOME

  • netcat -l -p <PORT source in used>| tar xvf -

References


  • http://netcat.sourceforge.net/

  • http://en.wikipedia.org/wiki/Netcat

TrackBack

TrackBack URL for this entry:
http://blogs.oracle.com/mte1521/mt-tb.cgi/526

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on December 6, 2007 11:10 AM.

The previous post in this blog was Sizing your Buffer Pool.

The next post in this blog is Tracing a script in Unix/Linux.

Many more can be found on the main index page or by looking through the archives.

Top Tags

Powered by
Movable Type and Oracle