Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

copy file in linux

Posted on 2009-04-14
3
Medium Priority
?
247 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
[X]
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
  • 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 1500 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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.
Suggested Courses

609 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