Tutors: Dr Katerina Michalickova
Course Level: Level 1
Prerequisites: None
Course Duration: 3x 2 hour sessions
Format: Remote session with live teaching and hands-on practice

Course Description

This tutorial is aimed at students who have no experience with using the command line.  You will be introduced to basic commands and concepts that are needed to manage a simple project.  Next, we will move onto writing simple scripts for task automation.   In this section, you will learn about variables, loops and conditionals.  The class is entirely hands-on, you will follow the instructor and will have time for independent exercises.

Syllabus

  • File management for a scientific project
  • Text editing with nano
  • Basic Unix commands and parameters
  • Command redirection and pipes
  • Running programs on the command line
  • Connecting to a remote server
  • Basics of shell scripting – variables, loops and if statements
  • Worked example of a shell script

Learning Outcomes

On completion of this workshop you will be able to:

  • Identify the situations when the Linux command line is needed
  • Apply the Linux commands to manage data and programs
  • Develop simple shell scripts for task automation
  • Troubleshoot simple shell scripts

Materials
Pre-course setup

Dates

Tuesday 04 May 2021, 15:00-17:00 (Part One)
Wednesday 05 May 2021, 15:00-17:00 (Part Two)
Thursday 06 May 2021, 15:00-17:00 (Part Three)
Zoom

BOOK

Wednesday 02 June 2021, 15:00-17:00 (Part One)
Thursday 03 June 2021, 15:00-17:00 (Part Two)
Friday 04 June 2021, 15:00-17:00 (Part Three)
Zoom  BOOK
Summary of the table's contents

Students must attend all three parts to be awarded the course credit