LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do i copy files (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-copy-files-423459/)

v1nc3nt 03-10-2006 06:17 AM

How do i copy files
 
How do i copy Files from my server to my local machines in RH9. I have ssh into the server and want to copy certain files from there onto my machine.

Also, how do i create a symbolic link from one file to the next

stimpsonjcat 03-10-2006 06:21 AM

man scp
man ln

gilead 03-10-2006 06:22 AM

You can use sftp non-interactively or interactively much like ftp. Have a look at man sftp. To To create a symbolic use (where target is the file that already exists and linkname is the name of the link):
Code:

ln -s target linkname

reddazz 03-10-2006 06:23 AM

You can use the scp command which works like the cp command e.g.
Code:

$scp filename user@host:documents/files/
To copy a directory
Code:

$scp -r directory user@host:documents/files/
#

Symbolic links on local machines are created using the ln command e.g.
Code:

$ln -s filename /some/path/filename


All times are GMT -5. The time now is 07:51 PM.