1748038 Members
5313 Online
108757 Solutions
New Discussion

copy command

 
rajesh73
Super Advisor

copy command

 normally i am using scp for file copy, but i need to copy the director to some other server , ple help me the command

 

file copy command to other host

 

scp DBarch_00.dbf root@195.200.165.32:/dump/arch

 

 

3 REPLIES 3
Steven Schweda
Honored Contributor

Re: copy command

 
Dennis Handly
Acclaimed Contributor

Re: copy command (scp)

madhucertify
Advisor

Re: copy command (scp)

Hi Rajesh,

 

scp -rp dirname targethostname:/destination path

 

it will ask for password,if public key is not present in destination server.

 

step 2:

 

 

if hostname is available in .rhosts  file,you can also use rcp.

 

regards

 

madhu