How do I copy a file from source to destination in Unix?

Thanh Hoan

New member
How do I copy a file from source to destination in Unix?
Answer
The Linux cp command is used for copying files and directories to another location. To copy a file, specify “cp” followed by the name of a file to copy. Then, state the location at which the new file should appear. The new file does not need to have the same name as the one you are copying.
 

Tìm kiếm

Back
Top