How do you copy all the files from a directory to another directory?

Linh Chi

New member
How do you copy all the files from a directory to another directory?
Answer
Copying files (cp command)
  1. To make a copy of a file in the current directory, type the following: cp prog.c prog.bak. …
  2. To copy a file in your current directory into another directory, type the following: cp jones /home/nick/clients.
 

Tìm kiếm

Back
Top