SCP cmd
How would you use SCP to copy your ~/.bashrc file from bravo to local system?
|
look at the man file for scp... i'm at work, so i can't tell you exactly how to use the command. but besides that, a general idea is as such:
scp <path to local file> user@host.org <path to remote file> |
scp ~/.bashrc [email]user@ip:
For Eg you want to save it in /etc then the command would be scp -r ~/.bashrc user@ip:/etc/ |
Hey what is the bravo...?
If it's a remote system then exact command should be: scp <username>@bravo:/home/bravo/.bashrc /tmp/. # I am assuming that you wish to copy .bashrc file to tmp folder. If bravo is a user who's home folder is at /home/bravo and you have rights to copy file from bravo's home folder then scp /home/bravo/.bashrc /tmp/. # I am assuming that you wish to copy .bashrc file to tmp folder. Thanks |
All times are GMT -5. The time now is 04:01 AM. |