To maintain timestamps when using the cp command, use:Group of answer choices-T-t-A-a
Question
To maintain timestamps when using the cp command, use:Group of answer choices-T-t-A-a
Solution
To maintain timestamps when using the cp command, you can use the -p option. This option tells cp to preserve the following attributes of each source file in the copy: modification time, access time, file flags, file mode, user ID, and group ID, as allowed by permissions.
Here is an example of how to use it:
cp -p sourcefile destinationfile
However, if you specifically want to maintain timestamps, you can use the -a option. The -a option is equivalent to -dR --preserve=all which keeps all file attributes, and also preserves symbolic links, hence it is considered as a more powerful option than -p.
Here is an example of how to use it:
cp -a sourcefile destinationfile
Please note that -T, -t and -A are not valid options for the cp command.
Similar Questions
It is possible to manage time.Group of answer choices
Using SQL, you can change the format of date before it will display?Group of answer choicesTrueFalse
You can extract the year from NOW()Group of answer choicesTrueFalse
When should you express more than one action per step?Group of answer choicesb. nevera. alwaysd. when you need to save spacec. when the two actions must be completed at the same time
Fixed-time period models are used when demand is variableGroup of answer choicesTrueFalse
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.