Shell / Commands

cp

English

Overview

A command for copying files or directories.

Details

A command that duplicates a specified file or directory to another location. Copying an entire directory requires the -r option. The -p option also preserves attributes like timestamps and permissions on the copy, unlike a plain content-only copy.

More Linux terms