User Tools

Site Tools


mkatari-bioinformatics-august-2013-introlinuxnotes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
mkatari-bioinformatics-august-2013-introlinuxnotes [2015/06/11 11:08] – [History] mkatarimkatari-bioinformatics-august-2013-introlinuxnotes [2015/06/11 11:23] – [History] mkatari
Line 273: Line 273:
 -r--r-----. 1 mkatari mkatari 772 Jun 11 14:01 bottomusers.txt -r--r-----. 1 mkatari mkatari 772 Jun 11 14:01 bottomusers.txt
 </code> </code>
 +
 +====== Transferring Files ======
 +
 +There are several ways to transfer files to a server. The most reliable and consistent way is to use ''scp''. scp is a combination of the cp copy command and ssh command for connecting securely. An important thing to note is that you can only use scp if the remote server accepts ssh connections. For example, if you are using a windows machine and have not setup a service to accept ssh connections, you can copy to your windows machines, but you can copy from your windows machine. 
 +
 +One major advantage of using mobaxterm on windows machines is that it comes with some basic linux commands, including scp. On a mac, scp comes with the operating system. So if you want to copy a file that is on your Desktop to hpc from your laptop you can use the following command:
 +
 +<code>
  
 ====== Exercise ====== ====== Exercise ======
mkatari-bioinformatics-august-2013-introlinuxnotes.txt · Last modified: 2015/06/11 11:50 by mkatari