tfcb_2020

Lecture 2: First steps in the shell

Erick Matsen (@ematsen, matsen.group)

This lesson introduces you to the command line (a.k.a. Unix shell), which is useful (and necessary) for automating tasks, working with files/directories, and using compute clusters.

Learning objectives

After this course, you should be able to:

Class materials

Reminders

Tutorial

 _______     _______.  ______     ___      .______    _______
|   ____|   /       | /      |   /   \     |   _  \  |   ____|
|  |__     |   (----`|  ,----'  /  ^  \    |  |_)  | |  |__
|   __|     \   \    |  |      /  /_\  \   |   ___/  |   __|
|  |____.----)   |   |  `----./  _____  \  |  |      |  |____
|_______|_______/     \______/__/     \__\ | _|      |_______|

.___________. __    __   _______
|           ||  |  |  | |   ____|
`---|  |----`|  |__|  | |  |__
    |  |     |   __   | |   __|
    |  |     |  |  |  | |  |____
    |__|     |__|  |__| |_______|

     _______. __    __   _______  __       __
    /       ||  |  |  | |   ____||  |     |  |
   |   (----`|  |__|  | |  |__   |  |     |  |
    \   \    |   __   | |   __|  |  |     |  |
.----)   |   |  |  |  | |  |____ |  `----.|  `----.
|_______/    |__|  |__| |_______||_______||_______|

This is an interactive tutorial to teach you about navigating the shell.

To get started, access the unix shell on your computer. Make sure you’re connected to the Fred Hutch network, either on campus via the Marconi wireless network, via VPN, or using snail as described here. Follow the instructions to log on to rhino. Once you have logged on, execute the following commands:

git clone https://github.com/fredhutchio/tfcb_2020.git
cd tfcb_2020/lectures/lecture02

Now you can start the first lesson by clicking here. We recommend keeping a browser open with the lesson materials as you work through the exercises on rhino. Go to this page to see the complete list of files for this lecture. The quickref.md file is a short-as-possible quick reference sheet with basic commands.

Further references