Friday, May 27, 2011

1. Copy file from server to my laptop computer and vice versa

Use scp command. for example I have a file in /usr/users/iff_th3/kiani/Mpi_test/example-KCuF3 named 'readme' and I want to copy it to my laptop computer in this address: /Users/kiani/Desktop.


scp kiani@ifflinux:/usr/users/iff_th3/kiani/Mpi_test/example-KCuF3/readme /Users/kiani/Desktop


And if I want to copy a file called 'Makefile' in my laptop computer to my home in cluster, I should use this command while I am in the directory where 'Makefile' exists:


scp Makefile kiani@ifflinux://usr/users/iff_th3/kiani


more details can be found in this webpage.

No comments:

Post a Comment