Friday, August 31, 2012

Copying File Command

It copies a file or a group of files. Copying file overwrites without warning the destination file if it already exists.

SYNTAX: $cp  <source>  <target>

Example:

$cp   file1  file

$cp  file1  file2  dir1 (used for copying file to directory)

No comments:

Post a Comment