[ubuntu-uk] Help needed with ssh

Alan Lord (News) alanslists at gmail.com
Wed Jul 15 18:30:44 BST 2009


On 15/07/09 17:53, John Matthews wrote:
> Hi, thank you for your message. So as I understand it then, if I have a
> folder on the desktop called title, that is called a directory then yes?
> I wanted to copy that folder to the home directory.

Yes, in Linux, a folder is usually known as a directory. But they mean 
much the same. A place where files are stored inside.

> So what is the difference between scp and cp ~r

man scp
man cp

scp is "Secure CoPy" and is generally used between *different* 
computers; but may also be used on the same machine too.

cp is the general "CoPy" command of the Linux shell.

I posted quite a few links on an earlier post.

A quick glance at this one: http://linuxcommand.org/learning_the_shell.php

would help you considerably: Especially for copying files see: 
http://linuxcommand.org/lts0050.php#cp

HTH

Alan




More information about the ubuntu-uk mailing list