Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-10-2006, 06:17 AM   #1
Registered: Feb 2006
Location: East London ,South Africa
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15
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
Old 03-10-2006, 06:21 AM   #2
Registered: Apr 2005
Location: switzerland
Distribution: debian etch
Posts: 99

Rep: Reputation: 15
man scp
man ln
Old 03-10-2006, 06:22 AM   #3
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 166Reputation: 166
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):
ln -s target linkname
Old 03-10-2006, 06:23 AM   #4
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You can use the scp command which works like the cp command e.g.
$scp filename user@host:documents/files/
To copy a directory
$scp -r directory user@host:documents/files/

Symbolic links on local machines are created using the ln command e.g.
$ln -s filename /some/path/filename


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I copy this Files Linux2excel Linux - Newbie 1 04-17-2005 02:13 PM
Copy files andy18 Linux - General 4 09-02-2003 02:26 PM
can't copy files from cd linuxmad Linux - General 2 08-28-2003 11:34 PM
how to copy and paste between files and within files Bheki Linux - General 1 02-05-2002 05:29 AM
Why can't I copy files? Linux - General 1 05-28-2001 10:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration