LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 12: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, 12:46 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
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, 07:44 PM   #3
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

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



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 09: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 08:28 PM
SCP copy file with dynamic date( or something like that) Shinigami101 Linux - Software 3 11-19-2008 07:56 AM
SCP Copy File SSH petenyce Linux - Wireless Networking 2 10-05-2005 03:11 PM
scp :copy file from one remote comp to another aniketh Linux - Networking 4 06-16-2004 02:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:19 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
Open Source Consulting | Domain Registration