How do I copy a file from one directory to another in Terminal Linux?

How do I copy a file from one directory to another in Terminal Linux?
Answer
Linux Copy File Examples
  • Copy a file to another directory. To copy a file from your current directory into another directory called /tmp/, enter:
  • Verbose option. To see files as they are copied pass the -v option as follows to the cp command:
  • Preserve file attributes.
  • Copying all files.
  • Recursive copy.
 

Tìm kiếm

Back
Top