LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-10-2006, 07:17 AM   #1
v1nc3nt
Member
 
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, 07:21 AM   #2
stimpsonjcat
Member
 
Registered: Apr 2005
Location: switzerland
Distribution: debian etch
Posts: 99

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

Rep: Reputation: 164Reputation: 164
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
 
Old 03-10-2006, 07:23 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
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
 
  


Reply


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 03:13 PM
Copy files andy18 Linux - General 4 09-02-2003 03:26 PM
can't copy files from cd linuxmad Linux - General 2 08-29-2003 12:34 AM
how to copy and paste between files and within files Bheki Linux - General 1 02-05-2002 06:29 AM
Why can't I copy files? rdaves@earthlink.net Linux - General 1 05-28-2001 11:27 PM


All times are GMT -5. The time now is 06:07 AM.

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