Showing results for 
Search instead for 
Do you mean 

copy command

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
Highlighted
Honored Contributor Honored Contributor

Re: copy command

 
Acclaimed Contributor Acclaimed Contributor

Re: copy command (scp)

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