rcp—remote file copy
rcp [ –p ] filename1 filename2
rcp [ –pr ] filename...directory
The rcp command copies files between machines in the following form:
remotehostname:path
user@hostname:file
user@hostname.domainname:file
Example A.43.
1 rcp dolphin:filename /tmp/newfilename
2 rcp filename broncos:newfilename
EXPLANATION
Copies filename from remote machine dolphin to /tmp/newfilename on this machine. Copies filename from this machine to remote machine broncos and names it newfilename.
|