Operating Systems (OPS)
Kursthemen
-
Welcome to "IST-OPS", where you will learn about Operating Systems through using Linux and programming in C. This course has no formal prerequisites, but we make the assumption that you have taken IST-ASM before this one, and/or that you are familiar with the concepts covered there (if in doubt, ask us).
For all questions and demands, please e-mail us both: lionel.morel@insa-lyon.fr + guillaume.salagnac@insa-lyon.fr. Thanks !
Lecture notes / worksheets
- First steps on the Unix command line
- topics: GUI vs CLI, terminal vs shell, files vs directories, access rights
- Compiling and Debugging a C program
- topics: kernel vs process, source vs executable, syscall, compiler/assembler/linker, disassembler, gdb breakpoints, step over vs step into
- Using the Unix command line
- topics: completion, history, wildcards, file redirection, pipelines
- topics: completion, history, wildcards, file redirection, pipelines
- Introduction to the C language
- topics: basic syntax, using printf, variables and typing, control structures (if, for, while), functions
- topics: basic syntax, using printf, variables and typing, control structures (if, for, while), functions
- Arrays and pointers
- topics: memory address, reference/dereference operators (& and *), indexing, pointer arithmetics, character strings, command-line arguments (argc/argv)
- topics: memory address, reference/dereference operators (& and *), indexing, pointer arithmetics, character strings, command-line arguments (argc/argv)
- Processes, Kernel, System Calls
- topics: PID, exit status, fork(), child vs parent, exec(), wait()
- topics: PID, exit status, fork(), child vs parent, exec(), wait()
- File Input/Output
- topics: open(), read(), write() syscalls, file descriptors, stdio streams, redirections, pipes, strace
- topics: open(), read(), write() syscalls, file descriptors, stdio streams, redirections, pipes, strace
- Data structures
- topics: scalar vs composite types, structure member operators "." and "->"
- topics: scalar vs composite types, structure member operators "." and "->"
- Dynamic memory allocation
- topics: recursive data structures (linked list), malloc(), sizeof()
- topics: recursive data structures (linked list), malloc(), sizeof()
Past Exams
note: if you work on a past exam and want your answers reviewed and/or if you have questions, please drop us an e-mail ! - First steps on the Unix command line