RedHat Red Hat Linux Essentials RH033 Question # 36 Topic 4 Discussion

RedHat Red Hat Linux Essentials RH033 Question # 36 Topic 4 Discussion

RH033 Exam Topic 4 Question 36 Discussion:
Question #: 36
Topic #: 4

John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. John is working as the root user on the Linux operating system. He wants to copy all files with the .dat extension from /home/john to /home/maria while preserving the file attributes, such as timestamps, mode, and ownership. Which of the following commands will he use to accomplish the task?


A.

cp -p /home/john/*.dat /home/maria


B.

cp -R /home/john/*.dat /home/maria


C.

cp -l /home/maria/*.dat /home/john


D.

cp -l /home/john/*.dat /home/maria


Get Premium RH033 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.