View the Most Wanted LQ Wiki articles.
LinuxQuestions.org > Linux Wiki > Cp

From LQWiki

Jump to: navigation, search

cp is the Unix command to copy files and directories. For syntax and options see the man page.

Examples

 cp file1.htm file2.html 
Copies the file1.htm to file2.htm

Related Commands

  • mv - Moves files
  • rm - Removes files
  • mkdir - Creates a directory

Share

Personal tools