Exam4Training

Which of the following commands will allow the administrator to copy all the contents to the web server?

A Linux systems administrator needs to copy the contents of a directory named “working” on the local working system to a folder /var/www/html on a server named “corporate-web”.

Which of the following commands will allow the administrator to copy all the contents to the web server?
A . scp Cr working/* webuser@corporate-web:/var/www/html
B . tar working/* webuser@corporate-web:/var/www/html
C . cp Cr working/* webuser@corporate-web:/var/www/html
D . mv working webuser@corporate-web:/var/www/html

Answer: A

Explanation:

Reference: https://unix.stackexchange.com/questions/232946/how-to-copy-all-files-from-a-directory-to-a­remote-directory-using-scp

Latest XK0-004 Dumps Valid Version with 267 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version