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
sftp YOUR_USERNAME@lonestar.tacc.utexas.edu
and enter your password when promptedcd /corral-repl/utexas/BioITeam/tacc_ngs/
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?