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/* [email protected]:/var/www/html
B . tar working/* [email protected]:/var/www/html
C . cp Cr working/* [email protected]:/var/www/html
D . mv working [email protected]:/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

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>