Nguyễn Đức Thành
New member
How do I copy a file from one directory to another in Unix?
Answer
Copying files (cp command)
Answer
Copying files (cp command)
- To make a copy of a file in the current directory, type the following: cp prog.c prog.bak. …
- To copy a file in your current directory into another directory, type the following: cp jones /home/nick/clients.