The 2026 episode at Faculty of Mathematics, Physics and Informatics of Comenius University.

Lectures (F1)

Thursday, 11:30 - 13:00

Labs (I-H6)

Monday, 16:30 - 18:00 (voluntary)

Term

Monday, 21 September 2026 - Friday, 18 December 2026

First class

Lab on Monday, 21 September 2026 at 16:30 (I-H6), lecture on Thursday, 24 September 2026 at 11:30 (F1)

Goal#

The goal of this lab is to

  • show you the cool things (your) computers are capable of
  • get you acquainted with UNIX-like operating systems, the tradition which powers much of modern computing
  • be a fun break from other classes

What you are studying is non-trivial already. It is not our job to punish you for choosing to do that but to give you some practical skills that will let you apply it straight away.

Lab Lectures#

Lecture 1: Intro to Command Line#

Discussed material:
  • History of UNIX-like operating systems
  • Text console, Shell and Secure Shell (SSH)
  • Shell Commands (short intro and some examples)
  • … and more in the first set of slides
Supplementary resources:
  • The TTY demystified: so what exactly is this teletype that has been mentioned a few times? This article starts with a caveat that it is not particularly elegant, but once you read through it, you’ll get a much more thorough understanding of (modern) UNIX-like system and the UNIX history as well.
  • The History of Unix by Rob Pike: it is not every day that you get an important piece of (computing) history described by someone who helped with making it. Well worth the watch!

Lecture 2: Files and Directories#

Discussed material:
  • UNIX-style file system
  • Directory tree and its important parts
  • Navigating the filesystem
  • Complete and autocomplete in Bash
  • … and more in the second set of slides
Supplementary resources:
  • How dotfiles came to be: A short story (by Rob Pike once again) about how dotfiles (you know, the hidden files that start with a dot) came to be and what it says about the unintended effects of cutting corners and just "hacking around" a problem.
  • The history of the /usr split: Different story but a very similar morale. Read through it to find out how did the /bin vs. /usr/bin split happen, how irrelevant it is these days and how one needs to fight against the bad ideas in order not to let them propagate. (Here is Rob Landley’s original mailing list post on the /usr split.)
  • Linux Filesystem Hierarchy: A deeper discussion on the various parts of the standard Linux filesystem, describing several of the directories in much higher detail than the slides ever could.

Lecture 3: Standard I/O, Pipes and Text Processing#

Discussed material:
  • Standard Input/Output
  • Pipes
  • Introduction to Text Processing
  • … and more in the third set of slides
Supplementary resources:
  • AT&T Advertisement for UNIX: Watch Brian Kernighan describe (in a very down-to-earth fashion) what’s great about UNIX, especially how pipes play an important role in that.
  • How are UNIX pipes implemented: a very thorough and deep overview into how the UNIX pipes came to be, how they were originally implemented and what that implementation looks like now.
  • Bash Oneliners Explained -- All about redirections: a more in-dept discussion on how all sorts of redirections work in Bash and how you can make use of it in your work.
  • Introduction to text manipulation on UNIX-based systems: A very extensive in-depth guide into what’s possible with just the standard tools, when it comes to text processing on UNIX-like systems. (Spoiler alert: a lot!)
  • The UNIX Command Language: This paper from 1976 (!), written by no one else but Ken Thompson, is the first paper ever published on the Unix shell.. If for nothing else, it’s almost certainly worth reading for its amazing clarity of presentation and concise treatment.

Resources#

Slides#

LISA conference (part of USENIX, the old UNIX organization) has had a workshop called Linux Productivity Tools. It’s basically "zero to hero" in 89 slides. It’s very worth checking out, especially if you are in a hurry.

Linux Productivity Tools slides

Historical Books#

If you like books, here are two worth reading:

UNIX: A History and a Memoir by Brian W Kernighan

A historical account of how UNIX came to be by someone who was there when it happened. It will help you paint the proper picture of what is meant when people say stuff like "UNIX legacy" or "the UNIX era".

The Cuckoo’s Egg: Tracking a Spy Through the Maze of Computer Espionage by Cliff Stoll

Strangely enough, this is a novel; a true story of a physicist who tracked one of the first documented "hackers" (cracker would really be a better term here, but I digress) who he found snooping around his systems. The best part is that it’s all real, down to the (obviously UNIX) commands that were used. Well worth a read!

There are also related classes elsewhere around the world:

Grading#

ComponentWeight
Assignments50%
Exam50%

There will be one assignment per week. Each of them is (normally) worth 5% (plus some bonuses). You have up to a week to finish them, but most people manage to do it during the lab.

Exam will be conducted from the content discussed at the Thursday lectures

PointsGrade
(92, inf]A
(84, 92]B
(76, 84]C
(68, 76]D
(60, 68]E
[0, 60)FX