File Transfers Flashcards

1
Q

scp file.txt server:/tmp

A

Secure copy “file.txt” to the /tmp folder on “server”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

scp server:/var/www/*.html /tmp

A

Copy “*.html” files from “server” to the local /tmp folder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

scp -r server:/var/www /tmp

A

Copy all files and directories recursively from “server” to the current system’s /tmp folder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

rsync -a /home /backups/

A

Synchronize “/home” to “/backups/home”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

rsync -avz /home server:/backups/

A

Synchronize files/directories between the local and remote system with compression enabled

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

ftp host

A

Connect to FTP server on the remote “host”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly