asked 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

asked
User DJJ
by
7.0k 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.

answered
User David Gallagher
by
8.2k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.