Tuesday, June 17, 2008

cp

Use cp to copy files or directories.
   % cp foo foo.2 
This makes a copy of the file foo.
   % cp ~/poems/jabber . 

This copies the file jabber in the directory poems to the current directory. The symbol "." stands for the current directory. The symbol "~" stands for the home directory.

No comments: