Common options for the cp command include:
-ror--recursive: Copy directories recursively.-ior--interactive: Prompt before overwriting files.-uor--update: Copy only when the source file is newer than the destination file or when the destination file is missing.-vor--verbose: Explain what is being done (show the files being copied).-aor--archive: Copy files and directories recursively and preserve attributes (like timestamps and permissions).
For example, to copy a directory and its contents while preserving attributes, you would use:
cp -a source_directory/ destination_directory/
