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 01-20-2014, 01:17 PM   #1
sandrews38
LQ Newbie
 
Registered: Jan 2014
Posts: 1

Rep: Reputation: Disabled
How would you use scp to copy your ~/.bashrc file from the system named plum to th


How would you use scp to copy your ~/.bashrc file from the system named plum to the local system?
 
Old 01-20-2014, 01:46 PM   #2
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,159
Blog Entries: 10

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
I think it goes like this:
Code:
scp user@remote:.bashrc .
http://www.hypexr.org/linux_scp_help.php
http://stackoverflow.com/questions/1...emote-to-local
http://askubuntu.com/questions/32937...o-home-machine

Edit: Welcome to LQ
 
Old 01-20-2014, 08:44 PM   #3
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
Quote:
Originally Posted by sandrews38 View Post
How would you use scp to copy your ~/.bashrc file from the system named plum to the local system?
to scp a file from system A to system B is it always in the form of:
Code:
 scp file remote_user_B@IP_B:/path

scp remote_user_B@IP_B:/path/to/file /path/on/local/system
so the first example will move a file form your local system to the remote system (B), the 2nd will move a file from the remote system (B) to your local system.
 
  


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 to copy ~/.bashrc file to local 768 Linux - Newbie 3 05-21-2012 10:27 PM
how would you use scp to copy your ~/.bashrc file from bravo to the local system? marty gallagher Linux - Newbie 1 11-10-2011 09:28 PM
SCP copy file with dynamic date( or something like that) Shinigami101 Linux - Software 3 11-19-2008 08:56 AM
SCP Copy File SSH petenyce Linux - Wireless Networking 2 10-05-2005 04:11 PM
scp :copy file from one remote comp to another aniketh Linux - Networking 4 06-16-2004 03:31 AM


All times are GMT -5. The time now is 06:23 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