Bird
0
0

Which of the following best describes the primary function of the cp command in Linux?

easy📝 Conceptual Q1 of 15
Linux CLI - File and Directory Operations
Which of the following best describes the primary function of the cp command in Linux?
ADelete files and directories permanently
BMove files and directories to a new location
CCopy files and directories from one location to another
DChange file permissions and ownership
Step-by-Step Solution
Solution:
  1. Step 1: Understand the command purpose

    The cp command is used to copy files or directories, not move or delete them.
  2. Step 2: Eliminate incorrect options

    Options B, C, and D describe other commands (mv, rm, chmod/chown respectively).
  3. Final Answer:

    Copy files and directories from one location to another -> Option C
  4. Quick Check:

    Copying is the main function of cp [OK]
Quick Trick: cp copies files/directories, mv moves them [OK]
Common Mistakes:
MISTAKES
  • Confusing cp with mv command
  • Thinking cp deletes files
  • Assuming cp changes permissions

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes