cp (copy)

Overview

If you want to move or rename files (instead of copying), please checkout the mv command.

Copying A Single File

This is the simplist cp procedure:

cp ~/original_file.txt ~/copied_file.txt 

Coping Multiple, Specific Files To A Directory

This can be done with the syntax:

Note that there must be no spaces between the comma-separated files.

Posted: January 14th, 2017 at 4:23 am
Last Updated on: April 27th, 2017 at 4:43 am