[EMAIL PROTECTED] (Dean Struss) wrote:
>   I too have a question on the cp command. When used it always ask rm
>the file I'm trying to copy. Is cp copy or remove? Also can't one
>specify a place on a directory with a new name to place a file in a
>newly created file. I keep getting the response that directory doesn't
>have a file of that name.

>From the sound of things, you've got the source and destination
filenames the wrong way round!

To copy, say, test.c to test.c.bak, use:

  cp test.c test.c.bak

To copy test.c to directory test, use:

  cp test.c test/

-- 
Colin Watson                                           [EMAIL PROTECTED]

Reply via email to