I use terminal shellI and Im finding it difficult to copy a
I use terminal shellI and I’m finding it difficult to copy a file from my school remote server to my local machine.
I used this command but it’s giving an error massage. rsync -avx eve.kean.edu:/tmp/directory/hosts.
Please I need help so I could use this file to start my final project.
The file name is hosts. And my professor copied it in /tmp/directory
This is my school remote name: eve.kean.edu
My User Name is: nwodo@evebelow is what I’m getting with the command.
Solution
The syntax is like:
scp username@source:/file/location username@destination:/storage/location
The the command in your is case is like
scp eve.kean.edu:/tmp/directory/hosts nwodo@eve:/where/to/copy
