Learning just enough to be dangerous
Marek Šuppa
Ondrej Jariabka
Adrián Matejov
Interaction with computers was done in various ways:
Interaction with computers was done in various ways:
lights and switches
numerical displays
textual displays and terminals
Interaction with computers was done in various ways:
lights and switches
numerical displays
textual displays and terminals
graphical display
mouse, touchpad, tablet, touch screen
Interaction with computers was done in various ways:
lights and switches
numerical displays
textual displays and terminals
graphical display
mouse, touchpad, tablet, touch screen
voice control, Virtual Reality...?

Ken Thompson (sitting) and Dennis Ritchie working together at a PDP-11
one of the first operating systems
Ken Thompson, Dennis Ritchie (and friends) in 1969
later (1973) re-written in C
The freedom to run the program as you wish, for any purpose.
The freedom to study how the program works, and change it so it does your computing as you wish.
The freedom to redistribute copies so you can help your neighbor.
The freedom to distribute copies of your modified versions to others.
Note that free does not necessarily need to mean free of charge.
Linus Torvalds, 21 year old student of the University of Helsinki
Released Linux (kernel) in 1991
Linux kernel + GNU = Linux (GNU/Linux system)


ssh "Secure Shell" $ ssh user@remote.computer.comssh "Secure Shell" $ ssh user@remote.computer.com
Needs to be executed from a terminal/console application (aka "terminal emulator")
Starts an interpreter (shell) on the remote computer and connects the terminal/console to it
ssh "Secure Shell" $ ssh user@remote.computer.com
Needs to be executed from a terminal/console application (aka "terminal emulator")
Starts an interpreter (shell) on the remote computer and connects the terminal/console to it
user@hostname:~$
user will be replaced with the user you run this shell as
server will be replaced with the name of the computer this shell is running on
user@hostname:~$
user will be replaced with the user you run this shell as
server will be replaced with the name of the computer this shell is running on
$ (and potentially # in case of administrator accounts) denotes a place to enter commands
user@hostname:~$
user will be replaced with the user you run this shell as
server will be replaced with the name of the computer this shell is running on
$ (and potentially # in case of administrator accounts) denotes a place to enter commands
user@hostname:~$ command [ENTER]
(the [ENTER] here means literally pressing the Enter key on the keyboard)
The standard command has the following structure
user@hostname:~$ command [flags] [arguments]The standard command has the following structure
user@hostname:~$ command [flags] [arguments]
such as for instance
user@hostname:~$ command -x --longflag
where -x and --longflag are flags. (Long flags start with two dashes --)
The standard command has the following structure
user@hostname:~$ command [flags] [arguments]
such as for instance
user@hostname:~$ command -x --longflag
where -x and --longflag are flags. (Long flags start with two dashes --)
Flags (or options) can be either boolean (present/not-present) or with some value
user@hostname:~$ command -x 123user@hostname:~$ command --longflag somestringcal command prints out a calendaruser@hostname:~$ calcal command prints out a calendaruser@hostname:~$ cal
-3 flaguser@hostname:~$ cal -3cal command prints out a calendaruser@hostname:~$ cal
-3 flaguser@hostname:~$ cal -3
-n flaguser@hostname:~$ cal -n 6cal command prints out a calendaruser@hostname:~$ cal
-3 flaguser@hostname:~$ cal -3
-n flaguser@hostname:~$ cal -n 6
user@hostname:~$ cal 2020cal command prints out a calendaruser@hostname:~$ cal
-3 flaguser@hostname:~$ cal -3
-n flaguser@hostname:~$ cal -n 6
user@hostname:~$ cal 2020
user@hostname:~$ cal -n 6 2020date
uname -a
-a means "all information")man command
commandqexit
w
who
whoami
pwd
cd directory
directorycd ..
ls
Each lab is worth 5% of your final grade (there will be some bonuses)
You can get at most 50% of the grade in the labs
The other 50% comes from the test at the lectures with Dr. Janacek
Each lab is worth 5% of your final grade (there will be some bonuses)
You can get at most 50% of the grade in the labs
The other 50% comes from the test at the lectures with Dr. Janacek
At least 50% is necessary for the E grade
Labs every week, 1630 in H6 (or online)
Short (40 minute) lecture on some topic + various exercises
Everything organized via Google Classroom
Labs will take place on a remote server, so nothing to install
Keyboard shortcuts
| ↑, ←, Pg Up, k | Go to previous slide |
| ↓, →, Pg Dn, Space, j | Go to next slide |
| Home | Go to first slide |
| End | Go to last slide |
| Number + Return | Go to specific slide |
| b / m / f | Toggle blackout / mirrored / fullscreen mode |
| c | Clone slideshow |
| p | Toggle presenter mode |
| t | Restart the presentation timer |
| ?, h | Toggle this help |
| Esc | Back to slideshow |