© Philip Kirkbride 2020
P. KirkbrideBasic Linux Terminal Tips and Trickshttps://doi.org/10.1007/978-1-4842-6035-7_6

6. File Transfer

Philip Kirkbride1 
(1)
Montreal, QC, Canada
 

In this chapter, we’re going to look at various programs for transferring files between machines.

FTP

One of the most common protocols to transfer files is FTP (File Transfer Protocol ). To get started using FTP, you should install lftp, a sophisticated file transfer program. This program is primarily used for FTP but can also be used for other protocols:
sudo apt-get install lftp
With lftp installed, you can enter interactive mode using
lftp
This will open up an interactive shell where you can run lftp-specific commands. It should look similar to Figure 6-1.
Figure 6-1

lftp interactive ...

Get Basic Linux Terminal Tips and Tricks: Learn to Work Quickly on the Command Line now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.