urppeia / BIO609_2017

BIO609 Introduction to UNIX/Linux and Bash Scripting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BIO609 Introduction to UNIX/Linux and Bash Scripting

May 3 + 9, 2017

University of Zurich

URPP Evolution in Action

URPP logo

Stefan Wyder & Heidi Tschanz-Lischer

stefan.wyder@uzh.ch
heidi.lischer@ieu.uzh.ch

Table of Content

     
9.30 - 9.40 Welcome & Introduction SW&HTL
9.40 - 12.30 Introduction to the command line
Working with files, working with text, pipes
Presentation | Demo | Hands-on 1 | Hands-on 2
SW
13.30 - 14.00 Working with text files SW
14.00 - 17.30 Bash scripting
Presentation | Hands-on
HTL

Etherpad

Installation Instructions for the Virtual Machine (VM)

  • Download the virtual machine manager VirtualBox, from virtualbox.org. Make sure you pick the right operation system for your laptop.
  • Install VirtualBox on your machine
  • Download the VM image (~7 GB) from dropfiles.uzh. Use the download link you got by email. Note that it is a large download, use an Ethernet connection if possible.
  • Run VirtualBox and do File | Import Appliance from the menu. Choose the VM image you just downloaded (file with extension .OVA). This will trigger a menu where you can change the Appliance settings. We recommend giving the VM as much memory as you can (about 2/3 of the total memory, but between 2-4 GB). Start the import process.

Now you can start the VM by selecting it in the list and clicking on the Start button. Login with the VM password.

Copy/paste doesn't work in the command window

To copy, select text and click the title bar and go to Edit->Copy. You can use Edit->Paste to paste.

The usual shortcuts for copy/paste don't work in the virtual machine. For Macs use ctrl+shift+C for copying and ctrl+shift+v for pasting.

You can also setup shared folders between the VM and the host system. See below or ask us how to do it.

Adding Shared Folders

It is possible to share data (read/write/copy files) between Virtual Machine and your host operating system (e.g. Mac OS or Windows). By default no access is granted, we have to configure it:

  1. Share a folder in your operating system
    With a running VM go to the menu of the VirtualBox software Devices | Shared Folder Settings… and add 1 or multiple folders
  2. In Ubuntu VM, go to the terminal and type:
    usermod -aG vboxsf student
    (student is our username)
  3. Reboot the VM

On Ubuntu the shared folder is located in the path /media

Recommended books (Practical Computing Skills)

Recommended websites

General

Linux/Shell

Intermediate level

About

BIO609 Introduction to UNIX/Linux and Bash Scripting

License:GNU General Public License v3.0