Multiple choice technology

Command to copy a file without changing the creation time

  1. cp -r

  2. cp

  3. cp -p

  4. cp -R

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The cp -p command preserves file attributes including modification/access times, mode, and ownership. cp -r and cp -R recursively copy directories but reset timestamps.