1. Home
  2. Computing & Technology
  3. Linux
Juergen Haas
Juergen's Linux Blog

By Juergen Haas, About.com Guide to Linux

rcp, scp, ftp - Commands For Copying Files Between Computers

Sunday January 6, 2008
There are a number of Linux commands you can use to copy files from one computer to another. The rcp ("remote copy") command is meant to work like the cp ("copy") command, except that is allows you to copy files and directories over the network to and from remote computers.

This is nice and simple, but to make it work you need to first set up the computers involved in the transaction to allow this operation. This is done using the ".rhosts" files. See here for more information.

A more secure version of rcp is scp ("secure copy"). It is based on the ssh ("secure shell") protocol, which uses encryption.

The key advantage of the ftp client program is that it comes with most commonly used operating systems, including most Linux distributions and even Microsoft Windows, and it doesn't require ".rhosts" files. You can copy multiple files with ftp, but the basic ftp clients typically do not transfer whole directory trees.

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore Linux
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Linux

©2009 About.com, a part of The New York Times Company.

All rights reserved.