Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

copy file in linux

Posted on 2009-04-14
3
226 Views
Last Modified: 2013-12-16
How can i shell into a remote server and copy a file back to my pc
0
Comment
Question by:fccinvest
  • 2
3 Comments
 
LVL 29

Expert Comment

by:fosiul01
ID: 24142648
do you want to do this automate or just manualy ??

to manualy

 scp -r root@55.66.77.88:somedir somedir

so it will copy somedir from remote to the local pc

or you can make it automate by RSYNC with passwordless backup
0
 

Author Comment

by:fccinvest
ID: 24142761
manually is fine but I am on a windows xp pc using putty to shell into the linux box.
Then I went to the folder where the file is at and from there type your command ?
Using secure copy what is the -r switch for ?  Then does rot@public address represent
the admin account at my xp box?  So if I want to copy the file to my xp box in the c:\ directory I use

scp -r filename rick@55.66.77.88:c:\
0
 
LVL 29

Accepted Solution

by:
fosiul01 earned 500 total points
ID: 24142805
ommmmm it would not work that way,

because you would not be able to copy linux file directory to C:/ drive

if you want to do that you need to install Cygin ,

or have to use wincp to download file  from linux to windows

or have to install ftp server and download file

but i guess Cygin would be perfect,

i will sent you some tutorial on this
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question