next up previous contents
Next: grep Up: Helpful Unix Commands Previous: mv   Contents

cp

This commend copies file and directories. For copying directories the -r flag must be used.

lightning:~>cp output output_copy

This copies output to a file called output_copy. Unlike mv, the original file output will remain in the directory.



Computer Support Group 2002-10-07