Assignment #01: getting familiar with Linux and Python

This week's assignment is about getting you more comfortable with linux and able to use python on your computer before doing more complicated things.

Exercise #01-01: linux tutorial

Follow the linux tutorial in the lecture notes 01.

Exercise #01-02a (mandatory): install python on your university account

Follow the instructions from here to install python on your linux account at the university (mandatory).

Exercise #01-02b (optional): install python on your laptop

Follow the instructions from here to install python on your laptop (optional).

Exercise #01-03: python script instead of bash

Use linux for this exercise. Write a python script called my_cli_test.py. The script can be as simple as you wish, but it should produce one printed output (a simple "Hello world!" would suffice!). Put this script in a new directory in your HOME, called bin. Now make this script callable from everywhere (not just from the bin directory) with a call to $ my_cli_test.py. Make this change "permanent" for your HOME environment.

Back to the table of contents