...

/

Copying Files in Bash

Copying Files in Bash

You will learn how to copy files via command line in this lesson.

cp

Definition:

This command is one of the most frequently used commands. It is used to copy files and directories. By default, cp copies files but not directories. Always be careful while choosing name for new files because the content might be lost if you use a file name ...