Intro to Unix lab 2016
Labs
Basic Info
- Teaching assistant: Ondřej Plátek (oplatek@ufal.mff.cuni.cz, room 424)
- Time and place: Friday 14:00, SU2, summer semester 2016
- Cvičení probíhá v češtině, materiály budou v angličtině. Kdybyste nerozuměli obsahu z jazykových důvodu, napište si o překlad.
Homework
Send your solutions via email with following template
Subject | unix2016 week[0-1][0-9] YOUR_NICKNAME |
Body | Any comments to the homework |
Attachment(s) | One main script hw01.sh with no arguments for HW1. |
UPDATE from 8th week: Your job is to submitt correct solutions which work both on lab machine e.g u-pl24 and solaris u-us. If they won’t pass automatic test, 0 points will be rewarded!
UPDATE 2 For passing the lab you need at least 23 points
Results
Week | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | tot |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MrPerfect | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 1 | 3 | 3 | 3 | 34 |
lrdGaben | 3+1 | 3+1.5 | 3 | 3+2 | 3 | 3 | 2.5+2 | 0 | 0 | 0 | 27 | ||
OndraN | 3+1 | 3 | 1.5 | 3 | 3 | 3 | 2.5+2 | 2 | 1 | 1+2 | 3 | 31 | |
Suky | 3+1 | 3 | 3 | 3+2 | 3 | 3 | 3 | 0 | 0 | 0 | 0 | 24 | |
hlupaco | 3+2 | 3+1 | 3 | 3+2 | 2 | 3 | 2 | 0 | 1 | 0 | 0 | 25 | |
Stephen | 3 | 3 | 0 | 1.5 | 3 | 2 | 3 | 0.5 | 1 | 0+1.5 | 1.5 | 3 | 23 |
Haldon | 3 | 3 | 2.5 | 3 | 3 | 3 | 3 | 3 | 1 | 0 | 24.5 | ||
ameSakvE | 2 | 3 | 3 | 3 | 3 | 0 | +2 | 3 | 1 | 1+2 | 3 | 26 | |
Fraith | 3 | 3 | 2 | 2.5 | 3 | 1.5 | 2+2 | 2 | 1 | 3 | 0 | 25 | |
apnoea | 3 | 3 | 3 | 2.5 | 3 | 3 | 2 | 2 | 0 | 0.5+0 | 3 | 25 | |
potato | 3 | 3 | 2 | 3 | 3 | 2 | 3 | 2 | 0 | 1 | 3 | 25 | |
or | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 1 | 0 | 3 | 28 | |
Flash | 3 | 0 | 0 | 3+1.5 | 3 | 3 | 3 | 2.5 | 1 | 1+2 | 1.5 | 24.5 | |
AlpskaSul | 1 | 1 | 1 | 2.5 | 3 | 1 | 1 | 2 | 1 | 0+0 | 0 | 13.5 | |
kompot | 1 | 2 | 1 | 2.5 | 3 | 3 | 3 | 3 | 1 | 1+0 | 3 | 23.5 | |
Quarz | 0 | 0 | 0 | 3 | 3 | 2 | 0 | 0 | 0 | 0 | 0 | 8 | |
synetric | 3 | 0 | 0 | 0 | 0 | 3 | 3+2 | 0 | 1 | 1+1.5 | 1 | 15.5 | |
Bashynx | 3 | 0 | 0 | 0 | 0 | 1 | 2+0 | 0 | 0 | 0+0 | 2 | 8 | |
Aragorn | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Links
- Thanks Krystof Borkovec for providing interesting exercises!
- Solaris machine for verification of portability
ssh YOUR_USERNAME@u-us.ms.mff.cuni.cz
- What are the common problems?
- bashism?
- Use options and positional arguments in the right order
- Use only standard options - commands typically implement superset of behaviour from POSIX
- Lecture website
- Unix standard
- Shell linter
- Martin Vseticka Notes(Cs)
- Parallel labs taught by Josef Moudrik(Cs)
- Welcome to sed
- Mff Wiki - Introduction to Unix (Cs)
Out of lab scope
- Vim
- Tmux, Screen or Terminator
- Git and Github
- Obtaining Unix-like system:
- recommended systems: Ubuntu (14.04), Debian, OSX
- How to access Unix-like system on Windows?
- Putty for accessing the rotunda lab
- Tutorial for installing Ubuntu on Windows
- Ideally use shared drives to share file system
- Docker for Windows,
How to get credit?
- Get points from homework exercises and bonus tasks
- After each lab I publish exercises for 3 points
- Due date is in one week before next lab!
- Late submission are awarded only one point even if correct
- To pass you need 2/3 of points which can be awarded from homework exercises
- You need at least 1/3 of points from homework
- 1/3 of points can be replaced by bonus tasks
- After each lab I publish exercises for 3 points
- No cheating
- If I discover plagiarism among more submissions all authors will be rewarded zero points
- Repeated attempts of plagiarism will result in failing the lab.
- Why to attend if it is not mandatory? I will:
- answer your questions,
- explaining current topic from the lecture if asked
- give hints for homework
- define with your help bonus tasks proposals (presentations, recap tests, …)
If you want to add/fix content of this page, create a pull request. Thank you!