Copy things
$ cp source dest
Some of the options for copying things.
Command | |
---|---|
cp -a | Preserves structure and attributes of file but not directory structure, ie permissions, etc. |
cp -i | Interactive mode |
cp -R | If source file is a directory copy the directory and entire subtree - If the source file end in / copies the contents of the directory |
cp -v | Verbose mode |
cp -n | Do not overwrite an existing file |