8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Anyone experience with using rcp to copy data between windows and Unix (AIX)? (6 Replies)
Discussion started by: rein
6 Replies
2. UNIX for Advanced & Expert Users
rcp user@hostname:sourcefile destfile
when i use the above command i get the followin error:
remshd:login incorrect.
i have taken care of entries in .rhosts and hosts.equiv. the userid
on both the system is the same. is there any thing i have missed out
please help me (4 Replies)
Discussion started by: nvg_hal
4 Replies
3. UNIX for Dummies Questions & Answers
I am installing 5.0.7 on an existing SCO network. The 2 other machines are using 5.0.5 and rcp works daily both ways between the 2 older machines.
However I cannot copy from either machine running 5.0.5 to the new 5.0.7 machine - "Permission Denied"
/etc/hosts is configured correctly... (4 Replies)
Discussion started by: farmacy
4 Replies
4. UNIX for Dummies Questions & Answers
I am attempting to use "rcp" to transfer files from a linux box(redhat) to a windows 2000 server box and keep getting a "connection refused" message.
Are there any special services/daemons on either side that I need running or any special ports I need open to do this? How about files? I read... (1 Reply)
Discussion started by: mcrouch_2003
1 Replies
5. UNIX for Dummies Questions & Answers
I'd like to become a web applications developer, and the company I currently work for use Sun/Apache and Perl, CGI and Python and Oracle to develop in (which is a little unfortunate for me as I have MS IIS and ASP/VBScript and SQL from my last job).
I have an old laptop I'd like to convert from... (2 Replies)
Discussion started by: dawn
2 Replies
6. Windows & DOS: Issues & Discussions
hi,
Could anyone tell me mounting windows directories in unix.I have used mount command in all directions like mounting hd00,hd1,hd2,hd3 and so on but that don't work for me
Mohan (2 Replies)
Discussion started by: mohan
2 Replies
7. IP Networking
I try an RCP command from winnt to unix and it works only with 2 pc but with the two others it dosen't work....? MS-DOS return this error msg : 0826-826 The host name for your address is not known.
What can I do to resolve my probleme ?
Dimitri
Geneva - Switzerland (2 Replies)
Discussion started by: dfrangidis
2 Replies
8. UNIX for Dummies Questions & Answers
Can you please tell me how to install the Sco 5.0.5 and
Windows NT on to the same HDD.
I am trying to install the same but the NT did not boots.
I made partition for 1024MB on to the 3.5GB disk and install the
unix first which infact gets install properly.Than I install the NT
on the other... (1 Reply)
Discussion started by: ahmadnadeem
1 Replies
rcp(1c) rcp(1c)
Name
rcp - remote file copy
Syntax
rcp [ -p ] file1 file2
rcp [-r] [-p] file... directory
Description
The command copies files between machines. Each file or directory argument is either a remote file name of the form rhost:path, or a local
file name. Local file names do not contain colons (:) or backslashes () before colons.
Note that the command refuses to copy a file onto itself.
If path is not a full path name, it is interpreted relative to your login directory on rhost. To ensure that the metacharacters are inter-
preted remotely, a remote host's path can be quoted by either using a backslash () before a single character, or enclosing character
strings in double (") or single (') quotes.
The command does not prompt for passwords; your current local user name must exist on rhost and allow remote command execution via
The command handles third party copies, where neither source nor target files are on the current machine. Hostnames may also take the form
rname@rhost to use rname rather than the current user name on the remote host. The following example shows how to copy the file foo from
user1@mach1 to user2@mach2:
$ rcp user1@mach1:foo user2@mach2:foo
Note that the file .rhosts on mach2 in user2's account must include an entry for mach1 user1. Also note that it may be necessary for the
person implementing the command to be listed in the .rhosts file for mach1 user1.
By default, the mode and owner of file2 are preserved if file2 already exists. Otherwise, the mode of the source file modified by on the
destination host is used.
Options
-p Preserves the modification times and modes of the source files in its copies, ignoring the
-r Copies files in all subdirectories recursively, if the file to be copied is a directory. In this case the destination must be a
directory.
Restrictions
The command is confused by output generated by commands in a .cshrc file on the remote host. In particular, `where are you?' and `stty:
Can't assign requested address' are messages which can result if output is generated by the startup file.
See Also
ftp(1c), rlogin(1c), rsh(1c)
rcp(1c)