File Transfers Flashcards
1
Q
scp file.txt server:/tmp
A
Secure copy “file.txt” to the /tmp folder on “server”
2
Q
scp server:/var/www/*.html /tmp
A
Copy “*.html” files from “server” to the local /tmp folder
3
Q
scp -r server:/var/www /tmp
A
Copy all files and directories recursively from “server” to the current system’s /tmp folder
4
Q
rsync -a /home /backups/
A
Synchronize “/home” to “/backups/home”
5
Q
rsync -avz /home server:/backups/
A
Synchronize files/directories between the local and remote system with compression enabled
6
Q
ftp host
A
Connect to FTP server on the remote “host”