PřF:C2110 UNIX and Programming - Course Information
C2110 UNIX Operating System and Programming Basics
Faculty of ScienceAutumn 2022
- Extent and Intensity
- 0/2/0. 2 credit(s) (plus extra credits for completion). Type of Completion: k (colloquium).
- Teacher(s)
- RNDr. Petr Kulhánek, Ph.D. (lecturer)
Mgr. Alice Laníková (seminar tutor)
Mgr. Ivo Durník, Ph.D. (seminar tutor)
Mgr. Anežka Tichá (seminar tutor) - Guaranteed by
- RNDr. Petr Kulhánek, Ph.D.
National Centre for Biomolecular Research – Faculty of Science
Contact Person: RNDr. Petr Kulhánek, Ph.D.
Supplier department: National Centre for Biomolecular Research – Faculty of Science - Timetable of Seminar Groups
- C2110/01: Mon 12:00–13:50 C04/118, I. Durník, P. Kulhánek, A. Tichá
C2110/02: Tue 8:00–9:50 C04/118, P. Kulhánek, A. Laníková
C2110/03: Tue 10:00–11:50 C04/118, P. Kulhánek, A. Laníková - Prerequisites
- Basic work with PC (for example MS Windows XX, Word, Excel)
- Course Enrolment Limitations
- The course is also offered to the students of the fields other than those the course is directly associated with.
- fields of study / plans the course is directly associated with
- there are 30 fields of study the course is directly associated with, display
- Course objectives
- At the end of the course, students should be able to use basic commands of Unix and Linux operating systems, combine them into more complex structures using scripting, create scripts in the AWK and gnuplot programming languages. Students should be able to combine their scripting knowledge to analyze outputs of basic scientific and technical calculations. Acquired skills are a prerequisite for computational chemistry and molecular modeling, and for a follow-up study of compiled programming languages (C/C ++).
- Learning outcomes
- Student will be able to:
- know the basic commands of Unix and Linux;
- combine these commands into more complicated constructions using scripting;
- create scripts in programming languages AWK and gnuplot;
- perform an automated analysis of the results of scientific and technical calculations; - Syllabus
- 1. Organisation of teaching. The focus of the course. The WOLF cluster. Getting started: local and remote access (ssh, putty)
- 2. Kerberos. Commands (documentation). File system. Remote access (scp, VNC)
- 3. Processes. Process communication with the environment. Virtualization.
- 4. Linux as a desktop environment. File system. Text editors.
- 5. Programs vs scripts. Basics of algorithmization. Introduction to bash scripting.
- 6. Scripting in bash (variables, input, and output).
- 7. Scripting in bash (control structures: conditions, loops).
- 8. Scripting in bash (control structures: loops, error handling, functions).
- 9. Scripting in Gnuplot (how to present scientific and technical data, terminal types, 1D and 2D graphs). Scripting in bash (cycles, redirection).
- 10. Practice (bash+gnuplot).
- 11. Scripting in awk (basic).
- 12. Scripting in awk (conditions, run control, cycles, arrays).
- 13. Practice (bash+gnuplot+awk)
- 14. Data compression. Archiving data. Compiling programs from source code.
- Literature
- HAHN, Harley and Peter NORTON. Průvodce UNIXEM od Petera Nortona : Jak komunikovat s UNIXEM, jak UNIX ukládá a zobrazuje informace, používání unixového systému souborů, práce s editorem vi : Peter Norton's Guide to UNIX (Orig.). 1.vyd. Brno: UNIS, 1993, XXIV, 562. info
- BRANDEJS, Michal. UNIX - Linux : praktický průvodce. 1. vyd. Praha: Grada, 1996, 340 s. ISBN 8071691704. info
- PETRLÍK, Lukáš. Jemný úvod do systému UNIX. 1. vyd. České Budějovice: Kopp, 1995, 189 s. ISBN 80-85828-28-6. info
- Teaching methods
- lectures, exercising practical examples, class discussion
- Assessment methods
- Participation in seminars is required (two excused absences are allowed). Three tests (3 x 20 points) will take place during the semester. The student will elaborate an algorithm of a task in the form of a flow chart (10 points). The final test (50 points) will take place in the examination period. It will be followed by a task to write a script (30 points) according to written instructions. At least 110 points are required to pass the course.
- Language of instruction
- Czech
- Follow-Up Courses
- Further Comments
- Study Materials
The course is taught annually. - Teacher's information
- This course is not given in English in PS 2021.
- Enrolment Statistics (Autumn 2022, recent)
- Permalink: https://is.muni.cz/course/sci/autumn2022/C2110