Trang Esther
New member
How do I copy files from one directory to another in Linux?
Answer
‘cp’ command is one of the basic and most widely used Linux commands for copying files and directories from one location to another.
…
Common options for cp command:
Answer
‘cp’ command is one of the basic and most widely used Linux commands for copying files and directories from one location to another.
…
Common options for cp command:
Options | Description |
|---|---|
-r/R | Copy directories recursively |
-n | Don’t overwrite an existing file |
-d | Copy a link file |
-i | Prompt before overwrite |