User Tools

Site Tools


os_cp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
os_cp [2023/04/04 23:43]
jkonczak
os_cp [2024/04/24 21:24]
jkonczak
Line 4: Line 4:
 === Course materials === === Course materials ===
  
-  - <​html><​div style="​display:​table;​width:​100%"></​html>​[shell] [[os_cp:​intro|Introduction to Unix-like operating systems. Getting help. Browsing filesystem.]] <​html><​div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right"></​html>​ [[os_cp:​intro:​solutions|Solutions to exercises]]<​html></​div></​div></​html>​ +  - <​html>​ 
-  - <​html><​div style="​display:​table;​width:​100%"></​html>​[shell] [[os_cp:​files_processes|File operations. Processes.]] <​html><​div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right"></​html>​ [[os_cp:​files_processes:​solutions|Solutions to exercises]]<​html></​div></​div></​html>​ +        ​<div style="​display:​table;​width:​100%">​ 
-  - <​html><​div style="​display:​table;​width:​100%"></​html>​[shell] [[os_cp:​users_permissions|Users. File Permissions.]]<​html><​div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right"></​html>​ [[os_cp:​users_permissions:​solutions|Solutions to exercises]]<​html></​div></​div></​html>​ +            ​</​html>​[shell] [[os_cp:​intro|Introduction to Unix-like operating systems. Getting help. Browsing filesystem.]] <​html>​ 
-  - <​html><​div style="​display:​table;​width:​100%"></​html>​[shell] [[os_cp:​redirects_pipes|Redirections. Pipes. Filters.]]<​html><​div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right"></​html>​ [[os_cp:​redirects_pipes:​solutions|Solutions to exercises]]<​html></​div></​div></​html>​ +            ​<div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right">​ 
-  - <​html><​div style="​display:​table;​width:​100%"></​html>​[programming] [[os_cp:open|Introduction to programming. File descriptors. Basic file I/​O.]]<​html><​div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right"></​html>​ [[os_cp:open:​solutions|Solutions to exercises]]<​html></​div></​div></​html>​ +                ​</​html>​ [[os_cp:​intro:​solutions|Solutions to exercises]]<​html>​ 
-  - <​html><​div style="​display:​table;​width:​100%"></​html>​[programming] [[os_cp:fork_exec|Forking. Exec.]]<​html><​div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right"></​html>​ [[os_cp:fork_exec:​solutions|Solutions to exercises]]<​html></​div></​div></​html>​ +            ​</​div>​ 
-  - [programming] ​PipesSignals+        ​</​div>​ 
-  - [programming] Shared memory. ​SemaphoresCritical sections+        <div style="​display:​table;​width:​100%">​ 
-  - [programming] ​ThreadsMutexes. Conditional variables+            </​html>​[shell] [[os_cp:​tba|Editing line in console. Console text editors.]]<​html>​ 
-  [shell] Searching for filesEnvironment variablesJob control. Miscellany. +            <div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right">​ 
-  ​- [shellScripting. ​<​html></​div></​li>​ +                </​html>​ [[os_cp:​tba:​solutions|Solutions to exercises]]<​html>​ 
-<li class="​level1"​ style="​list-style-type:​disc"><​div class="​li"​ style="​display:​table;​width:​100%"></​html>​[shell] [[os_cp:​tba|Editing line in console. Console text editors.]]<​html><​div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right"></​html>​ [[os_cp:​tba:​solutions|Solutions to exercises]]<​html></​div></​html>​+            </​div>​ 
 +        </​div>​ 
 +    ​</​html>​ 
 +  - <​html>​ 
 +        ​<div style="​display:​table;​width:​100%">​ 
 +            ​</​html>​[shell] [[os_cp:​files_processes|File operations. Processes.]]<​html>​ 
 +            ​<div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right">​ 
 +                ​</​html>​ [[os_cp:​files_processes:​solutions|Solutions to exercises]]<​html>​ 
 +            ​</​div>​ 
 +        ​</​div>​ 
 +    ​</​html>​ 
 +  - <​html>​ 
 +        ​<div style="​display:​table;​width:​100%">​ 
 +            ​</​html>​[shell] [[os_cp:​users_permissions|Users. File Permissions.]]<​html>​ 
 +            ​<div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right">​ 
 +                ​</​html>​ [[os_cp:​users_permissions:​solutions|Solutions to exercises]]<​html>​ 
 +            ​</​div>​ 
 +        ​</​div>​ 
 +        <div style="​display:​table;​width:​100%">​ 
 +            </​html>​[shell] [[os_cp:​locate_find|Searching for files.]]<​html>​ 
 +            <div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right">​ 
 +                </​html>​ [[os_cp:​locate_find:​solutions|Solutions to exercises]]<​html>​ 
 +            </​div>​ 
 +        </​div>​ 
 +    ​</​html>​ 
 +  - <​html>​ 
 +        ​<div style="​display:​table;​width:​100%">​ 
 +            ​</​html>​[shell] [[os_cp:​redirects_pipes|Redirections. Pipes. Filters.]]<​html>​ 
 +            ​<div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right">​ 
 +                ​</​html>​ [[os_cp:​redirects_pipes:​solutions|Solutions to exercises]]<​html>​ 
 +            ​</​div>​ 
 +        ​</​div>​ 
 +    ​</​html>​ 
 +  - <​html>​ 
 +        ​<div style="​display:​table;​width:​100%">​ 
 +            </​html>​[shell] ┬ [[os_cp:​scripting|Scripting. Job control. Environment variables.]]<​html>​ 
 +            <div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right">​ 
 +                </​html>​ [[os_cp:​scripting:​solutions|Solutions to exercises]]<​html>​ 
 +            </​div>​ 
 +        </​div>​ 
 +    </​html>​ 
 +  - [shell] ┘<​html><​!-- 
 +    </​div></​li>​ 
 +    <li class="​level1"​ style="​list-style-type:​disc"​ value="​6">​ 
 +        <div style="​display:​table;​width:​100%">​ 
 +            </​html>​[[os_cp:​exercises-shell|Example questions for the test.]]<​html>​ 
 +            <div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right">​ 
 +                </​html>​ <​html>​ 
 +            </​div>​ 
 +         /div and /li are inserted by dokuwiki --> 
 +    </​html>​ 
 +  - [shell] Test.   ([[os_cp:​exercises-shell|Example questions for the test.]]) \\ <​html>​ 
 +        <div style="​display:​table;​width:​100%">​ 
 +            ​</​html>​[programming]┬ [[os_cp:threads|Threads. Mutexes. Critical sections. Conditional variables.]]<​html>​ 
 +            <div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right">​ 
 +                </​html>​ [[os_cp:​threads:​solutions|Solutions to exercises]]<​html>​ 
 +            </​div>​ 
 +        </​div>​ 
 +    </​html>​ 
 +  - [programming]┤<​html>​ 
 +            <div style="​display:​inline-block;​width:​15em">​ 
 +            </​div>​ 
 +            </​html>​**[[os_cp:​find_out_what_is_going_on2|Homework.]]** 
 +  - [programming]┘ 
 +  - <​html>​ 
 +        <div style="​display:​table;​width:​100%">​ 
 +            </​html>​[programming] [[os_cp:​prog_intro_read_write|Introduction to programming. File descriptors. Basic I/​O.]]<​html>​ 
 +            ​<div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right">​ 
 +                ​</​html>​ [[os_cp:prog_intro_read_write:​solutions|Solutions to exercises]]<​html>​ 
 +            ​</​div>​ 
 +        ​</​div>​ 
 +    ​</​html>​ 
 +  - <​html>​ 
 +        ​<div style="​display:​table;​width:​100%">​ 
 +            ​</​html>​[programming] [[os_cp:open_fork|Opening a file. Forking.]]<​html>​ 
 +            ​<div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right">​ 
 +                ​</​html>​ [[os_cp:open_fork:​solutions|Solutions to exercises]]<​html>​ 
 +            ​</​div>​ 
 +        ​</​div>​ 
 +    ​</​html>​ 
 +  - <​html>​ 
 +        <div style="​display:​table;​width:​100%">​ 
 +            </​html>​[programming] ​[[os_cp:​exec_dup|ExecDuplicating descriptors.]]<​html>​ 
 +            <div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right">​ 
 +                </​html>​ [[os_cp:​exec_dup:​solutions|Solutions to exercises]]<​html>​ 
 +            </​div>​ 
 +        </​div>​ 
 +    </​html>​ 
 +  - <​html>​ 
 +        <div style="​display:​table;​width:​100%">​ 
 +            </​html>​[programming] ​[[os_cp:​pipes_signals|Pipes. Signals. ​Shared memory.]]<​html>​ 
 +            <div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right">​ 
 +                </​html>​ [[os_cp:​pipes_signals:​solutions|Solutions to exercises]]<​html>​ 
 +            </​div>​ 
 +        </​div>​ 
 +    </​html>​ 
 +  - <​html>​ 
 +        <div style="​display:​table;​width:​100%">​ 
 +            </​html>​[programming] ​[[os_cp:​semaphores|SemaphoresCritical sections.]] <​html>​ 
 +            <​div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;text-align:​right">​ 
 +                </​html> ​[[os_cp:​semaphores:​solutions|Solutions to exercises]]<​html>​ 
 +            </​div>​ 
 +        </​div>​ 
 +    </​html>​ 
 +<​html><​!-- 
 +    ​</​div></​li>​ 
 +    <li class="​level1"​ style="​list-style-type:​disc">​ 
 +        ​<div class="​li"​ style="​display:​table;​width:​100%">​ 
 +            ​</​html>​[shell] [[os_cp:​tba|Editing line in console. Console text editors.]]<​html>​ 
 +            ​<div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right">​ 
 +                ​</​html>​ [[os_cp:​tba:​solutions|Solutions to exercises]]<​html>​ 
 +            ​</​div>​ 
 +        </​div>​ 
 +    </​li>​ 
 +    <li class="​level1"​ style="​list-style-type:​disc">​ 
 +        <div class="​li"​ style="​display:​table;​width:​100%">​ 
 +            ​</html>[shell] Searching for files. Miscellany.<​html>​ 
 +            <div style="​display:​table-cell;​font-size:​0.75em;​margin-top:​0.33em;​text-align:​right">​ 
 +                </​html><​html>​ 
 +            </​div>​ 
 +--> 
 +<!-- /div and /li are inserted by dokuwiki --> 
 +</​html>​ 
 + 
 +<​small>​**The course materials are begin rearranged this year.** Expect changes to bring the materials to for a logically consistent course.</​small>
  
 The snippets in <​html><​small>​smaller font</​small></​html>​ or tagged with [extra] are supplementary. The snippets in <​html><​small>​smaller font</​small></​html>​ or tagged with [extra] are supplementary.
  
-=== More course materials ​ ===+**[[os_cp:​2024:​results|Test results (2024)]]** 
 + 
 +=== Grading === 
 + 
 +All students have to: 
 +  * pass two tests: 
 +    * one on the topics tagged with [shell]; this test will take place after the corresponding classes 
 +    * another on the topics tagged with [programming];​ this test will take place on the last lab classes 
 +  * complete two assignments:​ 
 +    * write a shell script - **[[os_cp:​2024:​shell_assignment|list of topics]]** 
 +    * write a concurrent program (details tba)   
 + 
 +=== Recommended ​course materials ​ ===
  
 Basic materials: Basic materials:
Line 29: Line 165:
   * [shell] https://​tldp.org/​LDP/​Bash-Beginners-Guide/​html/​index.html   * [shell] https://​tldp.org/​LDP/​Bash-Beginners-Guide/​html/​index.html
   * [shell] https://​tldp.org/​LDP/​abs/​html/​index.html   * [shell] https://​tldp.org/​LDP/​abs/​html/​index.html
 +  * [programming] https://​deadlockempire.github.io/​
  
-=== Grading === +<​small>​ 
- +Assignments in the previous year[[os_cp:​assignments|2023]] 
-All students have to+</​small>​
-  * pass a test at the end of semester (details TBA) +
-  * write several concurrent programs (details TBA) +
  
 +<​html>​
 +<!--
 +**[[os_cp:​2023:​results|Assignment grades, test results, final grades (2023)]]**
 +-->
 +</​html>​
  
 ~~META: ~~META:
 language = en language = en
 ~~ ~~
os_cp.txt · Last modified: 2024/05/16 00:25 by jkonczak