Linux copy command example

Linux copy command example.

 

   Need to copy files or copy folder in Linux system, this step by step Linux copy command examle show the use of Linux 'cp' command.

 

The cp command syntax, show the example on how to use the cp command to copy file or directory, run the man cp or run info coreutils 'cp invocation' to get the complete manual on how to use the Linux cp command:

 

usage:

     cp [OPTION]... [-T] SOURCE DEST

     cp [OPTION]... SOURCE... DIRECTORY

     cp [OPTION]... -t DIRECTORY SOURCE...