Cp (command): Difference between revisions
Jump to navigation
Jump to search
import>Lumpy HTF No edit summary |
m 14 revisions imported |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
For example, if you have a file named <code>README.md</code>, and you want to copy it into a directory called <code>dir</code>, you run <code>cp README.md dir</code>. Simple enough, right? | For example, if you have a file named <code>README.md</code>, and you want to copy it into a directory called <code>dir</code>, you run <code>cp README.md dir</code>. Simple enough, right? | ||
Latest revision as of 00:00, 20 December 2024
cp
is the name of the command used in Unix to copy files/folders into a folder/directory
For example, if you have a file named README.md
, and you want to copy it into a directory called dir
, you run cp README.md dir
. Simple enough, right?