Linux Basics

You are currently auditing this course.
24 / 107

Copy File

To copy files and directories we use the cp command. It's syntax is:

cp source destination

where,

source can contain single or multiple files and directories and

destination can contain a single file or directory.

INSTRUCTIONS

Please make the copy of myfirstfile.txt to myfirstfile_copy.txt by using the command

cp myfirstfile.txt myfirstfile_copy.txt

Loading comments...