Next / Previous / Index / ITC Help System / Publications / Site map / NM Tech homepage

Making a copy of a file

Tech Computer Center logo

If you want to make an exact copy of the contents of a file, figure out what you want to name the copy, and then type the command

      % cp oldname newname
where oldname is the name of the existing file you want to copy. A new file will be created with the name newname and the same contents as the original.
Next: Changing the name of a file
See also: Organizing your files
Previous: Finding out what files you have
Site map
Index: Keyword index to help pages
Help: New Mexico Tech Information Technology and Communications: Help System
ITC Publications
To report a problem: File a ticket
Send mail to the User consultant on duty or call them at 575-835-5437
Home: About New Mexico Tech

John Shipman, john@nmt.edu
Last updated: 1995/12/04 19:39:34 UT
URL: http://www.nmt.edu/tcc/help/unix/cp.html
QR two-dimensional bar code