Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

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