cp cp (1) - copy files and directories
cp cp (1) - copy files
Please see the following examples for 'cp' command:
-rw-rw-r-- 1 root root 3049 2011-04-07 23:48 toc.html
toc.html: html document
-rw-rw-r-- 1 root root 3049 2011-04-07 23:48 toc.html -rwxr-xr-x 1 root root 3049 2011-04-08 01:52 toc.html.bak
4.0K toc.html
3.5K toc.html.bak
4.0K toc.html
3.5K toc.html.bak
-rw-rw-r-- 1 root root 3049 2011-04-07 23:48 toc.html -rwxr-xr-x 1 root root 3049 2011-04-08 01:52 toc.html.bak
-rw-rw-r-- 1 root root 3049 2011-04-07 23:48 toc.html -rwxr-xr-x 1 root root 3049 2011-04-08 01:52 toc.html.bak -rw-rw-r-- 1 root root 3049 2011-04-07 23:48 toc.html.newbak
drwxr-xr-x+ 5 root root 8 2011-02-26 13:55 TOC
TOC: directory
drwxr-xr-x+ 5 root root 8 2011-02-26 13:55 TOC drwxr-xr-x+ 5 root root 8 2011-02-26 13:55 TOC.bak
343K TOC 343K TOC.bak
diff: TOC.html: No such file or directory
Common subdirectories: TOC/Media and TOC.bak/Media Common subdirectories: TOC/Scripts and TOC.bak/Scripts Common subdirectories: TOC/Table_of_Contents_files and TOC.bak/Table_of_Contents_files
total 17 -rw-r--r-- 1 501 501 679 2011-02-15 00:04 feed.xml -rw-r--r-- 1 501 501 319 2011-02-15 00:04 index.html drwxr-xr-x+ 2 501 501 3 2011-02-15 00:04 Media drwxr-xr-x+ 3 501 501 4 2011-02-15 00:04 Scripts drwxr-xr-x+ 2 501 501 14 2011-02-15 00:04 Table_of_Contents_files -rw-r--r-- 1 root root 9529 2011-02-26 13:55 Table_of_Contents.html
total 17 -rw-r--r-- 1 501 501 679 2011-02-15 00:04 feed.xml -rw-r--r-- 1 501 501 319 2011-02-15 00:04 index.html drwxr-xr-x+ 2 501 501 3 2011-02-15 00:04 Media drwxr-xr-x+ 3 501 501 4 2011-02-15 00:04 Scripts drwxr-xr-x+ 2 501 501 14 2011-02-15 00:04 Table_of_Contents_files -rw-r--r-- 1 root root 9529 2011-02-26 13:55 Table_of_Contents.html
Please click on " man cp " to see the Manual Page for this command.