cp and mv are the two most widely used file management commands in linux

The cp command is used to copy files and directories in Linux.

On the other hand the mv command is used to move or rename files and directories.

Both cp and mv commands can take multiple source files or directories and copy or move them to a destination directory

The -r option is used with cp and mv commands to copy or move directories and their contents recursively.

The -i option can be used with both commands to prompt for confirmation before overwriting any existing files.

The -v option can be used with both commands to display a verbose output that shows the progress of the operation.

The cp command can be used with the -p option to preserve the original file attributes, like ownership, permissions, etc.

Both commands support relative and absolute paths for specifying the source and destination files