Multiple choice

Which command is used to copy a file in Unix?

  1. copy

  2. cp

  3. cpio

  4. tar

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

The 'cp' command (copy) is the standard Unix command for copying files. Unix uses abbreviated commands - cp for copy, mv for move, rm for remove. The 'copy' command exists in other systems like Windows/DOS. Cpio is an archive tool, and tar creates archives, not file copies. Unix documentation confirms 'cp' as the copy command.