ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 147 - XK0-005 discussion

Report
Export

A Linux systems administrator needs to copy files and directories from Server A to Server B. Which of the following commands can be used for this purpose? (Select TWO)

A.
rsyslog
Answers
A.
rsyslog
B.
cp
Answers
B.
cp
C.
rsync
Answers
C.
rsync
D.
reposync
Answers
D.
reposync
E.
scp
Answers
E.
scp
F.
ssh
Answers
F.
ssh
Suggested answer: C, E

Explanation:

The rsync and scp commands can be used to copy files and directories from Server A to Server B.

Both commands can use SSH as a secure protocol to transfer data over the network. The rsync command can synchronize files and directories between two locations, using various options to control the copying behavior. The scp command can copy files and directories between two hosts, using similar syntax as cp. The rsyslog command is used to manage system logging, not file copying.

The cp command is used to copy files and directories within a single host, not between two hosts.

The reposync command is used to synchronize a remote yum repository to a local directory, not copy files and directories between two hosts. Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 13: Networking Fundamentals, pages 440-441.

asked 02/10/2024
Alois Braid
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first