Next: Removing files (rm)
Up: Copying files
Previous: Between UNIX systems (rcp)
  Contents
Similar to the UNIX network, the main VAX disks at JAC are
accessible from the Sun's: /vaxuser, /vaxdata, etc. A direct ``cp''
can be used to copy (or move) the files. Text files are then useable
from the VAX, but you will have to make sure that the files are
consistent with the VAX syntax rules: in UNIX terms this means that
the filename has to be lower case and has only one ``.xxxx''
extention. When accessing files from a VAX immediately after the copy
the first time you run a command you may get a warning that the file
is still ``locked by another user''. Don't panic, simply repeat the
command.
In case the disk is not shared, rcp will also work if you have
a ``.rhosts'' (same as on UNIX machines) in your login directory on
the VAX. The only thing to remember is to put single quotes around the
VAX directory names:
malama% rcp file.name maikai:`disk$user:[me.subdir]file.name'
From a VAX ``rcp'' can also be used, but requires a double colon in
front of the remote hosts name:
maikai> rcp file.name malama::`/home/me/subdir/file.name'
More general, you can also use the command ftp; like
telnet, ftp will work between any two systems supporting
TCP/IP networking. This includes many hosts around the world. For more
detail on using ftp, see either the appropriate manuals or the
man page.
Next: Removing files (rm)
Up: Copying files
Previous: Between UNIX systems (rcp)
  Contents
h.stilmack@jach.hawaii.edu