File management · Question 9 of 12
What does the -p option do in cp source.txt target.txt?
1 answer is correct. Medium Created with AI
Show answer
Answer
- A Permissions, owner and timestamps are preserved
Explanation
-p (preserve) keeps mode, ownership and timestamps. Without -p, the copy gets the current time and the user's umask.