Subject: Copying Files

Software Category: system
Supported by: ACS


Description:

You can duplicate a file, retaining the original and obtaining a second copy of it. The new file can use the same name if the two copies reside in different directories, or it can use a new name.


Getting Started:

To copy a file, enter the following command at a UNIX prompt:

cp oldfile newfile

replacing oldfile with the name of the original file, and replacing newfile with the name you want to give to the copy.


Documentation:

There is an on line manual page. To read it, enter the command man cp at a UNIX prompt.

For general information about working with files, refer to Memo RPI.113, Using UNIX: The Rensselaer Computing System (RCS).


Return to ACS Consulting home page.

Return to the General System page.


Return to ACS home page.


Please send comments and suggestions to

consult@rpi.edu