PrepAway - Latest Free Exam Questions & Answers

Which of the following commands will securely copy the directory ./fyf/ to /var/tmp/ on the remote host deltau

Which of the following commands will securely copy the directory ./fyf/ to /var/tmp/ on the remote
host deltaur using the remote user account kevin?

PrepAway - Latest Free Exam Questions & Answers

A.
rsync -a -e ssh kevin@deltaur:/var/tmp/ fyf/

B.
rsync -a -u kevin -e ssh fyf/ deltaur:/var/tmp/

C.
rsync -a -u kevin -e ssh deltaur:/var/tmp/ fyf/

D.
rsync -a -e ssh fyf/ kevin@deltaur:/var/tmp/

Explanation:
From the man pages:
rsync – a fast, versatile, remote (and local) file-copying tool
-a, –archive archive mode; equals -rlptgoD (no -H,-A,-X)
-e, –rsh=COMMAND specify the remote shell to use


Leave a Reply