Linux cp Command
In this tutorial we learn how to use cp commmand in Linux. cp command is cp - copy files and directories
In this tutorial we learn how to use cp command in Linux. cp command is cp - copy files and directories
cp [OPTION]... [-T] SOURCE DEST
cp [OPTION]... SOURCE... DIRECTORY
cp [OPTION]... -t DIRECTORY SOURCE...
We can use man
and info
command to see the manual page of cp command.
cp command also have --help
option to show list of options.
To open man page for cp command we can use command below. To exit man or info page you can press q
.
man cp
To open info page for cp command we can use command below.
info cp
To open help page from cp command we can run command below.
cp --help
You can find cp command source code from the folowing repositories:
You can read tutorials of related Linux commands below:
In this tutorial we learn how to use cp in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.