Programming in Shell 1
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 2020/2021:
-
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 Thu Fri - Time-table for summer semester 2020/2021:
- Time-table is not available yet
- The course is a part of the following study plans:
-
- Bc. Branch Security and Information Technology, Presented in English, Version 2015 to 2020 (compulsory course in the program)
- Bc. Branch WSI, Specialization Software Engineering, Presented in English, Version 2015-2020 (compulsory course in the program)
- Bc. Branch Computer Science, Presented in English, Version 2015 to 2020 (compulsory course in the program)