Dictionary entry
CP
Last updated
Meanings
nouncountablecomputing
A Unix command that copies files or directories from one place to another.
Grammar: Often used without 'the' when talking about the command itself: 'Use cp to copy the file.'
Patterns
- cp [options] source destination
- use cp to copy something
- run cp on a file
To back up your work, type cp report.txt report_backup.txt.
The cp command can copy whole directories if you add the -r option.
He learned to use cp before moving on to more advanced Unix tools.
noununcountablecomputinginformal
A short written form of 'copy-protected', describing software or media that cannot be copied freely.
Grammar: Used mainly in technical or informal writing, often before a noun: 'a CP disc'.
Patterns
- be CP
- a CP file
- CP content
That old game is CP, so you can't make a duplicate.
The label says CP, meaning the disc is copy-protected.
noununcountableinformal
A short form of 'cyberpunk', a science-fiction genre about high technology and society.
Grammar: Used in fan communities and reviews; usually written as CP in informal contexts.
Patterns
- be into CP
- a CP novel
- CP fans
She writes CP stories set in a future Tokyo.
The forum has a section for CP and other sci-fi subgenres.
noununcountableformal
A short form of 'corporal punishment', physical punishment given as a penalty.
Grammar: Used mainly in legal, educational, or news contexts; often written in full in formal writing.
Patterns
- ban CP
- use CP
- CP in schools
The country banned CP in schools in 1986.
Debates about CP often focus on children's rights and discipline.
Common combinations
- cp command
- The cp command is one of the first things you learn in Unix.
- use cp
- You can use cp to duplicate a whole folder.
- cp -r
- Add -r to cp to copy directories recursively.
- run cp
- He ran cp on the wrong file and had to restore from backup.
Synonyms and how they differ
Word family
Commonly confused: CP or mv? CP or PC?
CP vs mv
mv is another Unix command that moves or renames files, while cp only copies them.
CP vs PC
PC stands for 'personal computer' and is pronounced 'pee-see'; CP is 'see-pee' and refers to the Unix command or other abbreviations.
Practice
In a Unix terminal, which command would you use to copy a file named notes.txt to a new file called backup.txt?
Choose one answer.
cp is the copy command; the first file is the source and the second is the destination. 'mv' moves or renames, and 'run cp' is not a standard command syntax.
Make it your own
Write a sentence using “CP”, then check it and compare it with the examples above.