Logo ČVUT
CZECH TECHNICAL UNIVERSITY IN PRAGUE
STUDY PLANS
2019/2020

Programming in Shell 1

Login to KOS for course enrollment Display time-table
Code Completion Credits Range Language
BI-PS1 KZ 5 2P+2C Czech
Lecturer:
Zdeněk Muzikář (guarantor), Jan Trdlička
Tutor:
Dana Čermáková, Zdeněk Muzikář (guarantor), Lukáš Bařinka, Jiří Borský, Viktor Černý, Otto Hollmann, Jakub Jančička, Jiří Kašpar, Michal Šoch, Jan Trdlička, Yelena Trofimova, Jakub Žitný
Supervisor:
Department of Computer Systems
Synopsis:

Students become knowledgeable users of common Unix-like operating systems. They understand the fundamental principles of the operating systems (file systems, processes and threads, access rights, memory management, network interfaces). They gain the knowledge of advanced users, with hands-on experience of the shell, basic commands, and filters to process various text data.

Requirements:

Elementary GUI interaction. The ability to learn new ways of thinking.

Syllabus of lectures:

- Introduction. Fundamental concepts. History and architecture of Unix.

- Command line, shell, command and arguments processing, program exit code.

- Variables.

- Shell control constructions.

- File system.

- Text filters and other useful commands.

- Regular expressions and their usage.

- Process identity.

- Access rights.

- Searching for files.

- Arithmetics.

- Compression and archiving.

- Processes and threads, IPC.

Syllabus of tutorials:

1. Introduction. GUI. Basic shell usage.

2. Shell command line processing.

3. Shell variables. Text editors.

4. Exit-status, expressions, condition evaluation, loops.

5. Management of files and directories.

6. Standard process inputs and outputs. Elementary filters.

7. Regular expressions, grep and sed commands.

8. Text transformations, awk command.

9. User identity, access rights, find command.

10. Data backup and data compression.

11. Processes and jobs.

12. Arithmetics.

13. Practical test.

Study Objective:

Students gain essential knowledge about operating systems and their fundamental concepts, and become advanced users in using the standard system tools. Successful students will be ready to study operating system internal structures, OS administration, and also advancen shell programming and programming in other scripting languages.

Study materials:

1. Cameron Newham. Learning the bash Shell: Unix Shell Programming. Third Edition. O'Reilly, 2005. ISBN: 978-0596009656.

2. Jon Lasser. Think UNIX. Que, 2000. ISBN 078972376X.

3. Bruce Blinn. Portable Shell Programming: An Extensive Collection of Bourne Shell Examples. Prentice Hall, 1995. ISBN: 978-0134514949.

4. Arnold Robbins, Nelson H.F. Beebe. Classic Shell Scripting. O'Reilly, 2005. ISBN: 978-0596005955.

Note:
Further information:
https://courses.fit.cvut.cz/BI-PS1/
Time-table for winter semester 2019/2020:
06:00–08:0008:00–10:0010:00–12:0012:00–14:0014:00–16:0016:00–18:0018:00–20:0020:00–22:0022:00–24:00
Mon
Tue
roomT9:105
Muzikář Z.
07:30–09:00
(lecture parallel1)
Dejvice
Posluchárna
roomTK:PU1
Muzikář Z.
Žitný J.

18:00–19:30
(parallel nr.1)
Dejvice
NTK PU 1
roomT9:155
Muzikář Z.
16:15–17:45
(lecture parallel2)
Dejvice
Posluchárna
roomT9:105
Trdlička J.
18:00–19:30
(lecture parallel3)
Dejvice
Posluchárna
roomT9:350
Bařinka L.
18:00–19:30
(parallel nr.15)
Dejvice
NBFIT PC ucebna
Fri
roomT9:303
Žitný J.
07:30–09:00
(parallel nr.16)
Dejvice
NBFIT PC ucebna
roomT9:349
Šoch M.
Čermáková D.

12:45–14:15
(parallel nr.5)
Dejvice
NBFIT PC učebna
roomTK:PU1
Černý V.
Trofimova Y.

18:00–19:30
(parallel nr.14)
Dejvice
NTK PU 1
roomT9:349
Trdlička J.
Šoch M.

09:15–10:45
(parallel nr.3)
Dejvice
NBFIT PC učebna
roomTK:PU1
Bařinka L.
Jančička J.

12:45–14:15
(parallel nr.11)
Dejvice
NTK PU 1
roomT9:349
Čermáková D.
Šoch M.

14:30–16:00
(parallel nr.6)
Dejvice
NBFIT PC učebna
roomT9:349
Šoch M.
Čermáková D.

16:15–17:45
(parallel nr.7)
Dejvice
NBFIT PC učebna
roomT9:349
Čermáková D.
Šoch M.

18:00–19:30
(parallel nr.8)
Dejvice
NBFIT PC učebna
roomTK:PU1
Bařinka L.
Borský J.

09:15–10:45
(parallel nr.9)
Dejvice
NTK PU 1
roomT9:349
Šoch M.
Jančička J.

11:00–12:30
(parallel nr.4)
Dejvice
NBFIT PC učebna
roomTK:PU1
Bařinka L.
Hollmann O.

14:30–16:00
(parallel nr.12)
Dejvice
NTK PU 1
roomTK:PU1
Černý V.
Trofimova Y.

16:15–17:45
(parallel nr.13)
Dejvice
NTK PU 1
roomTH:A-1142
Kašpar J.
09:15–10:45
(parallel nr.17)
Thákurova 7 (FSv-budova A)
Apple lab
roomTK:PU1
Bařinka L.
Borský J.

11:00–12:30
(parallel nr.10)
Dejvice
NTK PU 1
roomTH:A-1142
Černý V.
12:45–14:15
(parallel nr.19)
Thákurova 7 (FSv-budova A)
Apple lab
roomTH:A-1142
Černý V.
14:30–16:00
(parallel nr.20)
Thákurova 7 (FSv-budova A)
Apple lab
roomTH:A-1142
Kašpar J.
11:00–12:30
(parallel nr.18)
Thákurova 7 (FSv-budova A)
Apple lab
Thu
Fri
Time-table for summer semester 2019/2020:
Time-table is not available yet
The course is a part of the following study plans:
Data valid to 2019-12-07
For updated information see http://bilakniha.cvut.cz/en/predmet3135306.html