26.6k views
0 votes
What command is used to copy files and directories?
1) copy
2) cp
3) rn

1 Answer

6 votes

Final answer:

The command used to copy files and directories is cp.

Step-by-step explanation:

The command used to copy files and directories is cp. The cp command is commonly used in Unix-like operating systems to create copies of files or directories. It allows you to specify the source file or directory and the destination where you want to copy it to. Here's an example:

cp sourceFile destinationDirectory

This command will create a copy of the sourceFile and place it in the destinationDirectory.

User Thomas Keller
by
8.0k points