Question: What is the effect of typing cp -Rpf ./sample ~/ as an ordinary user?
ID: 3598394 • Letter: Q
Question
Question: What is the effect of typing cp -Rpf ./sample ~/ as an ordinary user? (Choose all that apply.) Select one or more:
a. The sample file or directory is copied from the current directory to the user’s home directory.
b. The copy operation halts at filesystem boundaries; if a filesystem is mounted somewhere under sample, it won’t be copied.
c. Permissions and time stamps on the copied files are preserved.
d. If the target directory holds files of the specified names, they’re overwritten without prompting.
Explanation / Answer
a. The sample file or directory is copied from the current directory to the user’s home directory.
cp is the copy command which is used to copy the files and the options -Rpf means recursive,preserve and forcefully copy the contents from the source to destination .
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.