Skip to main content

3.10) Exercise 3: Solution


From the home directory, type:

cd research
mkdir datafiles
cp data1 datafiles
cp data1backup datafiles

Note you can copy more than one file to a directory as:

cp data1 data1backup datafiles

Go into the directory by typing:

cd datafiles
ls

to confirm the files are there.