0

Coming from a windows background and recently tried ubuntu 9.10 and started liking it. On windows it was really easy copying files between windows machines.
 
Now moving to the ubuntu, please help file directory copying in linux. I like to know how to copy between two ubuntu machines.

1 answers, 0 votes, 476 views
Visitor's picture
asked by Visitor
41 weeks 6 days ago



1 Answers

Answer
0

Use secure copy command scp
 
Syntax
scp <source file> user@host:<target dir/filename>
 
For example
scp index.html john@192.168.1.1:/var/www/sites/site1/index.html
 
Make sure you have the write permission to the target directory (in this case site1)
 
Hope this helps.

Visitor's picture
answer by Visitor
41 weeks 5 days ago
  • are the index.html a folder by you ?
    it's easy to copy files, but it not works for directories i think.
     

    - Visitor 11 weeks 4 days ago
  • Asked by

    Visitor's picture
    Visitor

    View in your own language!