85.6k views
0 votes
Assume you have a subdirectory named datafiles directly under your current working directory, and you have two files named data1 and data2 in your current directory. What command can you use to copy the data1 and data2 files from your current working directory to the datafiles directory

User DJJ
by
4.3k points

1 Answer

1 vote

Answer:

Follows are the command which is used to copy file data:

CP data1 to data2 datafiles

Step-by-step explanation:

In the above-given command code, we use the CP command, which is part of the Linux. In this command, we use CP that stands for copying data1 file to data2 file for copying, and for the files to be pasted. This command also uses the "datafiles", which is used to provide the relative final destination path.

User David Gallagher
by
5.1k points