Posts which you will also like.

Wednesday, December 1, 2010

Basic UNIX/LINUX command:cp

This command lets you to copy files.



                                                                                                                                                             
CommandSwitchResult
cpsource destinationIf destination file does not exists then it will be created before copying other wise overwritten.
cpsrc1 src2 src3 destinationcopy more than one files into a single destination
cpsrc* destinationcopy all files beginning with src into destination
cp-i src destinationwarns user before overwriting
cp-R srcdir destinationCopy directory structure



No comments:

Post a Comment

Your comment may wait for moderation....

DMCA.com Protected by Copyscape Online Plagiarism Tool