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
BIE-PS1 KZ 5 2P+2C English
Lecturer:
Jan Trdlička (guarantor)
Tutor:
Jan Trdlička (guarantor)
Supervisor:
Department of Computer Systems
Synopsis:

Students understand the basic principles of operating systems (processes and threads, file systems, access rights, memory management, network interface) with a focus on UNIX like operating systems. In practically oriented exercises, they will learn to use shell, basic commands and filters for processing text data.

Requirements:

Basic computer skills.

Syllabus of lectures:

1. Introduction. Fundamental concepts. History and architecture of UNIX.

2. Command-line parsing order, special characters, command execution, shell variables.

3. Exit code. Command test. Flow Control. Loops.

4. Filesystem. Basic file/directory commands.

5. Filters and useful commands.

6. Regular expressions, grep.

7. Regular expressions, awk, sed.

8. User identity and access permissions.

9. Command find.

10. Archiving and compression utilities.

11. Arithmetics.

12. Processes and threads. Signals.

Syllabus of tutorials:

1. Introduction.

2. Command line interface.

3. Shell variables, text editors.

4. Exit status, command test, flow control.

5. File system.

6. Standard Input/Output, UNIX filters and useful commands.

7. Regular expressions, command grep.

8. Regular expressions, commands sed and awk.

9. Access permissions and command find.

10. Processes and jobs.

11. Archiving and compression tools.

12. Arithmetic calculations.

Study Objective:

Students gain basic knowledge about operating systems, fundamental concepts in this area, and hands-on experience with UNIX at the level of an advanced user.

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/BIE-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
Fri
roomTH:A-s135
Trdlička J.
12:45–14:15
(lecture parallel1)
Thákurova 7 (FSv-budova A)
As135
roomT9:348
Trdlička J.
16:15–17:45
(lecture parallel1
parallel nr.102)

Dejvice
NBFIT PC ucebna
roomT9:348
Trdlička J.
18:00–19:30
(lecture parallel1
parallel nr.103)

Dejvice
NBFIT PC ucebna
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 2020-08-04
For updated information see http://bilakniha.cvut.cz/en/predmet3161206.html