Copying files to another directory

Copying files to another directory

To copy a file to another directory from your current directory give name of the source file followed by the pathname to the destination file.

cp source path_to_destination

For the destination file to have the same name as the source file use:

   cp source path_to_destination_directory

Top document