Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Overview

In the course of your computational biology lifetime, you may need to move files back and forth between UNIX systems that are secured by SSH. The sftp and scp commands are ideal for this task. For those of you using Linux or MacOS X computers, please follow along as we transfer a file from today's exercises to your local system using both commands.

SFTP

Open a new Terminal window and enter the following

  1. sftp YOUR_USERNAME@lonestar.tacc.utexas.edu and enter your password when prompted
  2. cd /corral-repl/utexas/BioITeam/tacc_ngs/
  3. get bowtie-launcher.sh

If all goes according to plan, you will see a file transfer go by quickly, and in your local home directory, the bowtie-launcher.sh file will appear. You can edit it and push it back up to Lonestar (though not to the BioITeam directory!)

Question: How would you upload this local file back to Lonestar using SFTP?

 Solution
  1. sftp YOUR_USERNAME@lonestar.tacc.utexas.edu
  2. cd SOME_DIRECTORY_YOU_OWN
  3. put bowtie-launcher.sh

SCP

  • No labels