07-22-2008
Remote copy
Hi,
To copy a file from another host use the command:
rcp source_file destination_fileThe source file is given as:
system_name:filenameWhen given as a relative pathname, the filename is interpreted relative to your home directory on the remote host.
To copy a file from your home directory on another host to your current directory on your local host:
rcp goya:notes part1.txtTo copy a file from a subdirectory in your account on a remote host to a subdirectory on your local host:
rcp ubik:gnu/rcs/README tmp/gnu_READMETo copy a file from a remote host on which you have an account under another username:
rcp joe@pollux:News/alt.hypertext tmp/hypertextThanks & RegardsVijay.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi I have just a few questions about the Unix aka NIX operating system.
1. Is it a free Operating System and if so where can I obtain it.
2. Where can I start out for a newbies guide to the OS.
Thanks (1 Reply)
Discussion started by: SolidWing68
1 Replies
2. UNIX for Dummies Questions & Answers
1. Someone pings a server from another location and gets a different result than if you ping the same server onsite. What is going on?
2. You know the reason the server won't boot is because of ODS, but the root partition isn't on ODS. How do you go about fixing it?
3. How would you truncate... (1 Reply)
Discussion started by: JoeTheMan
1 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
Im trying to send a .ZIP file in an email message using mail or mailx. What is the easiest way to do this?
Thanks!
UPDATE: I used the following command which didnt work
mailx -s {my subject} {xxxxx@ssss.com} < /var/tmp/file.zip (3 Replies)
Discussion started by: lewisoco
3 Replies
4. UNIX for Dummies Questions & Answers
1) Can a script be made to ignore all signals.
2) Does the parent process always picks up the exit status of its children.
3) Can one program give rise to multiple processes.
4) Is a file is synonymous with a process.
5) Is the kill command only used to kill a running process. (1 Reply)
Discussion started by: yahoo14
1 Replies
5. What is on Your Mind?
Hello all.
Im a young lad with very limited experience with computers, even though I have been playing with them the past 5 years. I have the experience of the random World of Warcraft player that plays games all day.
I have a huge interest in learning everything about computers and I was... (5 Replies)
Discussion started by: Vallzi
5 Replies
6. UNIX for Dummies Questions & Answers
If I wanted to do the following things to all the files in a directory how could I do it. Make all the files in a directory and in its sub directories to hidden status and make a different directory and all its sub directories copy inhibit. I am really stumped and have been looking through the... (8 Replies)
Discussion started by: kaka
8 Replies
7. SCO
Dear friends
I'm really new comer to this place and to this subject
you will make me so happy if you help me about these questions:
1- I must install UNIX 5.0.6 because one of my work software will works ONLY on this version , so , I want to know WHERE CAN I DOWNLOAD A COMPELETE PACKAGE OF... (2 Replies)
Discussion started by: mrr53
2 Replies
8. Shell Programming and Scripting
Hello,
Hello,
Can any one tell me the answer of these questions attached in the document.
The competition was over and I wanted to know correct answers. (6 Replies)
Discussion started by: bits1904
6 Replies
9. Homework & Coursework Questions
I need help for the following questions:
1. What are the advantages and disadvantages of using ACLs versus ordinary Unix file permissions?
2. Describe three methods for automating system administration tasks. Discuss the time taken to do things manually versus creating automatic systems.... (3 Replies)
Discussion started by: ravian97
3 Replies
U9FS(4) Kernel Interfaces Manual U9FS(4)
NAME
u9fs - serve 9P from Unix
SYNOPSIS
u9fs [ directory ]
DESCRIPTION
U9fs is not a Plan 9 program. Instead it is a program that serves Unix files to Plan 9 machines using the 9P protocol (see intro(5)). It
is to be invoked on a Unix machine by inetd with its standard input, output, and error connected to a network connection, typically TCP on
an Ethernet. It runs as user root and multiplexes access to multiple Plan 9 clients over the single wire. It simulates Unix permissions
itself by assuming Plan 9 uids match Unix login names.
If a directory is specified u9fs first does a Unix chroot system call to that directory.
Plan 9 calls this service 9fs with TCP service number 564 on the Ethernet. Set up this way on a machine called, say, kremvax, u9fs may be
connected to the name space of a Plan 9 process by
9fs kremvax
Due to a bug in some versions of the IP software, some systems will not accept the service name 9fs, thinking it a service number because
of the initial digit. If so, run the service as u9fs or 564 and do the srv and mount by hand:
srv tcp!kremvax!u9fs
mount -c /srv/tcp!kremvax!u9fs /n/kremvax
For more information on this procedure, see srv(4) and bind(1).
U9fs serves the entire file system of the Unix machine. It forbids access to devices because the program is single-threaded and may block
unpredictably. Using the attach specifier device connects to a file system identical to the usual system except it permits device access
(and may block unpredictably):
srv tcp!kremvax!9fs
mount -c /srv/tcp!kremvax!9fs /n/kremvax device
(The 9fs command does not accept an attach specifier.) Even so, device access may produce unpredictable results if the block size of the
device is greater than 8192, the maximum data size of a 9P message.
The source to u9fs is in the Plan 9 directory /sys/src/cmd/unix/u9fs. To install u9fs on a Unix system, copy the source to a directory on
that system. Edit the makefile to set LOG to a proper place for a log file and to set the compile-time configuration correctly. Then com-
pile with an ANSI C compiler and install in /usr/etc/u9fs. Install this line in inetd.conf:
9fs stream tcp nowait root /usr/etc/u9fs u9fs
and this in services:
9fs 564/tcp 9fs # Plan 9 fs
SOURCE
/sys/src/cmd/unix/u9fs
DIAGNOSTICS
Problems are reported to /tmp/u9fs.log. A compile-time flag enables chatty debugging.
SEE ALSO
bind(1), srv(4), ip(3), nfsserver(8)
BUGS
The implementation of devices is unsatisfactory.
U9FS(4)