nerdexam
ExamsXK0-004Questions#159
CompTIA

XK0-004 · Question #159

XK0-004 Question #159: Real Exam Question with Answer & Explanation

The correct answer is A: rsync -aHAX /share/* serverB:/newshare. -H --> preserve hard links -A --> preserve permissions -X --> preserve extended attributes

Question

A file server is sharing a directory called /share between team members inside a company. The fileshare needs to be moved from serverA to /newshare located on serverB with all permissions and attributes preserved. Which of the following commands would BEST achieve this task?

Options

  • Arsync -aHAX /share/* serverB:/newshare
  • Bdd if=/share/* of=serverB:/newshare
  • Ctar -cvf /share/* serverB:/newshare
  • Dmirrorlv /share/* serverB:/newshare

Explanation

-H --> preserve hard links -A --> preserve permissions -X --> preserve extended attributes

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice