Copy Files and Folders on Linux
<p>The <strong>cp </strong>command is one of the basic Linux commands for copying files and directories from one location to another.</p>
<p>When copying files from source to destination, the source file name does not change, but we can change the target file name if we need to.</p>
<h2>cp [Option] [Source] [Destination]</h2>
<pre>
+----------------------------------------------------------+
| Option | Description |
+----------------------------------------------------------+
| -v | Verbose mode (Show Progress) |
| -r/R | Copy Directories Recursively |
| -n | Don't overwrite an existing file |
| -d | Copy a link file |
| -i | Prompt before overwrite |
| -p | Preserve the specified attributes |
| -b | Make a backup of each existing destination file |
+----------------------------------------------------------+</pre>
<h2>Copy a File from One Location to Another in Linux Using the cp Command</h2>
<p><a href="https://vibhas1892.medium.com/copy-files-and-folders-on-linux-dbc6ecafd162"><strong>Click Here</strong></a></p>