cp - copy files
cp file1 [file2 ...] targer
is the name of a file, then this command copies the contents of the
Under no circumstances can
be the same. If
is a directory, then
copies one or more source files to that directory keeping the original
If a target file does not exist,
creates it giving it the same permissions as the source file but only
allocating as many blocks as required by the contents of the source.
If the target file exists and is writeble, its mode is changed to that
of the source and its size is changed to the minimum required by the source.
cp x y
cp a b /save
concatenates the first two files and places the result on the third.
If the target is write protected, the target file is unchanged, and an
error message is printed.