Dictionary entry

CP

nouncomputing

Last updated

UK/ˌsiː ˈpiː/
US/ˌsiː ˈpiː/

Meanings

  1. 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.

  2. 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.

  3. 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.

  4. 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

copy
A general verb meaning to make a duplicate; cp is the specific Unix command name.
duplicate
Means to make an exact copy, often used for documents or data; cp is the command-line tool.

Word family

copy verb
To make a duplicate of something.
copy noun
A duplicate of an original.

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?

Make it your own

Write a sentence using “CP”, then check it and compare it with the examples above.

Your sentence stays on this page and is not sent anywhere.

Explore more words