A Linux administrator needs to copy the log files and all the subdirectories in /var/log/archive to the /log/backups/ directory on a remote server at backup.example.com. The administrator will use the archive user account to access the remote server. Which of the following commands will do this?

QuestionsCategory: XK0-004A Linux administrator needs to copy the log files and all the subdirectories in /var/log/archive to the /log/backups/ directory on a remote server at backup.example.com. The administrator will use the archive user account to access the remote server. Which of the following commands will do this?
Admin Staff asked 6 months ago
A Linux administrator needs to copy the log files and all the subdirectories in /var/log/archive to the /log/backups/ directory on a remote server at backup.example.com. The administrator will use the archive user account to access the remote server.
Which of the following commands will do this?

A. scp -r /var/log/archive archive@backup.example.com:/log/backups

B. scp -r /var/log/archive backup.example.com:/log/backups

C. scp /var/log/archive/* archive@backup.example.com:/log/backups

D. scp -r backup.example.com:/log/backups /var/log/archive








 

Suggested Answer: C

Community Answer: A



This question is in XK0-004 CompTIA Linux+ Exam
For getting CompTIA Linux+ Certificate


Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by CompTIA. 
Trademarks, certification & product names are used for reference only and belong to CompTIA.
The website does not contain actual questions and answers from CompTIA's Certification Exams.

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.