Monday 15 April 2019

How to copy the binaries to a remote host using tar


Usually , i don't use VNC  to copy the binaries to remote host.I just use the screen command.

To start the screen session
screen

To list the screen session
/opt/csw/bin/screen -ls

Copy binaries over network to remote host
++++++++++++++++++++++++++++++++++
tar cpf - ./apps | ssh root@192.20.5.75 "cd /u01/; tar xpf -" 

No comments:

Post a Comment