LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 11-10-2011, 07:44 PM   #1
marty gallagher
LQ Newbie
 
Registered: Nov 2011
Posts: 1

Rep: Reputation: Disabled
how would you use scp to copy your ~/.bashrc file from bravo to the local system?


ow would you use scp to copy your ~/.bashrc file from bravo to the local system?
 
Old 11-10-2011, 08:28 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 7,331

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
I would try this, if I were on local system:

Code:
scp [bravo's ip address]:/home/[username]/.bashrc /home/[username]/[some directory]/
I would put it in [some directory] so as not to overwrite the existing .bashrc, if it exists.

Edit: If I didn't know Bravo's ip address, I would ping Bravo. That would reveal it.

Last edited by frankbell; 11-10-2011 at 08:33 PM.
 
  


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
SCP issues over SSH... can't seem to copy from remote to local. ncn8ochaser Linux - Newbie 3 11-18-2010 12:17 AM
Using SCP to copy to local knghtz Linux - Newbie 1 08-19-2009 01:53 PM
scp: copy a file from local machine to remote machine seran Linux - Newbie 8 10-30-2007 12:23 PM
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


All times are GMT -5. The time now is 11:51 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration