Skip to content
EntityQ305946· pop 30· linked from 244 articles

UNIX command for copying files and directories

Key facts

Original author
AT&T Bell Laboratories
Developers
Various open-source and commercial developers
Initial release
November 3, 1971 ; 54 years ago ( 1971-11-03 )
Written in
Plan 9: C
Operating system
Unix , Unix-like , Plan 9 , Inferno , KolibriOS
Platform
Cross-platform
Type
Command
License
coreutils : GPLv3 , Plan 9: MIT License

via Wikipedia infobox

Wikidata facts

Show 2 more facts
has command line option
X
Sources (2)

via Wikidata · CC0

~4 min read

Article

cp is a shell command for copying files and directories.

If the user has write access to a target file, the command copies the content by opening it in update mode. This preserves the file's inode instead of creating a new file with default permissions.

Connections

Categories