cp

Description

Copy files and directories.

Syntax

cp [OPTION]... SOURCE... DIRECTORY

Practical uses

  • cp -a: Archive mode, preserve all permissions, links, attributes and so on.
  • cp -i: Prompt before overwrite (overrides a previous -n option).
  • cp -r and cp -R: Copy directories recursively.
  • cp -u: Copy only when the SOURCE file is newer than the destination file or when the destination file is missing.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.149.119