Saturday, April 26, 2014

cp



cp command examples
 
Copy file1 to file2 preserving the mode, ownership and timestamp.

$ cp -p file1 file2

Copy file1 to file2. if file2 exists prompt for confirmation before
overwritting it.

$ cp -i file1 file2


0 comments:

Post a Comment