====== Systemy operacyjne - laboratorium ======
W semestrze zimowym 2021/2022 laboratoria komputerowe odbywają w dniach
* poniedziałek godz. 1030-1200, PK 2, WFAiIS
* poniedziałek godz. 1200-1400, PK 2, WFAiIS
===== Ćwiczenia =====
Warunki zaliczenia oraz zadania znajdują się pod poniższym adresem
* [[http://grader.fizyka.umk.pl/so/so.html|Zadania do wykonania na laboratorium (Grader, J. Kobus)]]
* [[https://moodle.umk.pl/WFAIIS/|Quizy (Moodle)]]
* Dodatkowe ćwiczenia:
* [[fork|fork, exec, system, ...]]
* [[http://jkob.fizyka.umk.pl/students/sa4k/cw/procesy-lekkie.html#lwp|Procesy, procesy lekkie, wątki jądra i ich stany]]
* [[http://jkob.fizyka.umk.pl/students/sa4k/cw/procesy-ulimit.html#ulimit|ulimit]]
* [[http://jkob.fizyka.umk.pl/students/sa4k/cw/procesy-chrt.html#chrt|chrt]]
===== Przydatne adresy =====
Skrypyt składowne są w repozytorium git znajdującycm się w sieci wydziałowej
* [[https://www.ifiz.umk.pl/dla-pracownikow/lan/|Sieć LAN na WFAiIS (Regulamin korzystania z sieci wydziałowej)]]
Adres **lokalny** bazowego repozytorium na serwerach wydziałowych (tor7/polon7/ameryk):
/git/so21/
Adres **zdalny** repozytorium:
@ameryk.fizyka.umk.pl/git/so21/
gdzie ''''' to identyfikator konta studenckiego (numer indeksu bez ''@stud.umk.pl'''), a '''' to Twoje nazwisko pisane z małej litery i bez znaków diakrytycznych (ogonków).
**Przykład** \\
klonowanie repozytorium do katalogu domowego po zalogowaniu do powłoki na serwerze ''ameryk'' lub ''polon7''
git clone /git/so21/grochowski
lub klonowanie zdalne, z dowolnego komputera podłączonego do internetu
git clone ssh://grochowski@ameryk.fizyka.umk.pl/git/so21/grochowski
**Podstawowe komendy git**\\
dodanie pliku do rewizji
git add plik.sh
zatwierdzenie zmian
git commit -m "Opis zmian"
wysłanie zmian do repozytorium
git push
===== Notatki =====
* Notatki z wykładu **Systemy Operacyjne** (J. Kobus) {{http://jkob.fizyka.umk.pl/_downloads/so.pdf|PDF}} \\
* Materiały do zajęć **Wprowadzenie do UNIX** (M. Grochowski) {{http://www.is.umk.pl/~grochu/unix/unix-2020/index.html|HTML}} {{zajecia:unix_2020_2:unix.pdf|PDF}}\\
===== Bash =====
* [[http://www.learnshell.org/|learnshell.org - interactive Shell Programming tutorial]]
* [[http://www.cs.put.poznan.pl/anstroinski/data/uploads/sop1/materials/sop1_lab7-kurs.html|Kurs Basha]]
* [[http://tldp.org/LDP/abs/html/index.html|Advanced Bash-Scripting Guide]] An in-depth exploration of the art of shell scripting by Mendel Cooper
* [[https://pl.wikibooks.org/wiki/Bash|Bash - WikiBook]]
* Greg's Wiki [[http://mywiki.wooledge.org/BashFAQ|BashFAQ]] [[http://mywiki.wooledge.org/BashPitfalls|Bash Pitfalls]] [[http://mywiki.wooledge.org/BashGuide|Bash Guide]] [[http://mywiki.wooledge.org/BashSheet|Bash Sheet]]
* [[http://www.bashoneliners.com/|BashOneLiners.com]] - "jednolinijkowce"
* Bash One-Liners Explained: [[http://www.catonmat.net/blog/bash-one-liners-explained-part-one/|Part 1]] [[http://www.catonmat.net/blog/bash-one-liners-explained-part-two/|Part 2]] [[http://www.catonmat.net/blog/bash-one-liners-explained-part-three/|Part 3]]
* [[http://www.cyberciti.biz/tips/bash-shell-parameter-substitution-2.html|HowTo: Use Bash Parameter Substitution Like A Pro]]
* [[http://wiki.bash-hackers.org/howto/getopts_tutorial|getopts]]
* [[http://wiki.bash-hackers.org/|The Bash-Hackers Wiki]]
===== Bash on-line =====
* [[https://www.tutorialspoint.com/execute_bash_online.php|Execute BASH Shell Script Online]]
* [[https://www.jdoodle.com/test-bash-shell-script-online|Easy and Quick way to run Bash Script Online]]
* [[http://explainshell.com/]] - analiza on-line poleceń powłoki
* [[http://www.shellcheck.net/]] - analiza on-line skryptów sh/Bash
===== Unix/Linux - polecenia =====
* [[http://www.pixelbeat.org/cmdline_pl_PL.html|Ściąga - polecenia linii komend ]] [[http://www.pixelbeat.org/docs/linux_commands.html|More Linux Commands]]
* [[http://pl.wikibooks.org/wiki/Linux_-_wprowadzenie|Linux - wprowadzenie (WikiBook)]] (polskie tłumaczenie, niestety niekompletne)
* [[http://zasoby.open.agh.edu.pl/~09saprzybylo/index.html|Open-AGH - System Unix]]
* [[http://files.fosswire.com/2007/08/fwunixref.pdf|Unix/Linux Command Cheat Sheet]]
* [[http://www.nixtutor.com/linux/all-the-best-linux-cheat-sheets/|All the Best Linux Cheat Sheets]]
* [[http://pubs.opengroup.org/onlinepubs/7908799/xcuix.html|Commands & Utilities ]] - The Single UNIX® Specification, Version 2
===== AWK =====
* [[https://www.gnu.org/software/gawk/manual/|Gawk: Effective AWK Programming]] by Arnold D. Robbins
* Awk by example [[https://developer.ibm.com/technologies/linux/tutorials/l-awk1|Part 1]], [[https://developer.ibm.com/technologies/linux/tutorials/l-awk2|Part 2]] [[https://developer.ibm.com/technologies/linux/tutorials/l-awk3| Part 3]] An intro to the great language with the strange name by Daniel Robbins
* [[https://developpaper.com/learn-awk-in-30-minutes/|Learn AWK in 30 minutes]]
* [[http://www.gnu.org/software/gawk/manual/gawk.html|The GNU Awk User's Guide]]
* Awk, Nawk and GNU Awk Cheat Sheet [[http://www.catonmat.net/download/awk.cheat.sheet.pdf|PDF]] [[http://www.catonmat.net/download/awk.cheat.sheet.txt|TXT]] [[http://www.catonmat.net/download/awk.cheat.sheet.doc|DOC]]
===== SED =====
* Sed one liners [[http://www.catonmat.net/blog/sed-one-liners-explained-part-one/|Part 1]] [[http://www.catonmat.net/blog/sed-one-liners-explained-part-two/|Part 2 ]] [[http://www.catonmat.net/blog/sed-one-liners-explained-part-three/|Part 3 ]]
* Sed Stream Editor Cheat-Sheet [[http://www.catonmat.net/download/sed.stream.editor.cheat.sheet.pdf|PDF]] [[http://www.catonmat.net/download/sed.stream.editor.cheat.sheet.txt|TXT]] [[http://www.catonmat.net/download/sed.stream.editor.cheat.sheet.doc|DOC]]
* [[http://sed.sourceforge.net/|the sed $HOME]]
===== Wyrażenia regularne =====
* [[https://regexcrossword.com/|Regex Crossword]]
* [[https://regex101.com/|regex tester]]
* [[http://public.kvalley.com/regex/regex.asp|Kvalley Computers and Internet -- RegEx Evaluator]]
* [[http://maciek.lasyk.info/regexp_checker.html|Sprawdzacz wyrażeń regularnych (Regular expressions checker) ]]
* [[wp>Regular_expression]]
* [[http://www.regular-expressions.info/reference.html|Regular Expression Basic Syntax Reference]]
* [[http://www.zytrax.com/tech/web/regex.htm|Regular Expressions - User Guide]]
* [[https://code.tutsplus.com/tutorials/8-regular-expressions-you-should-know--net-6149|8 Regular Expressions You Should Know]]
===== Przydatne programy =====
* [[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html|PuTTY]] (Win) free implementation of SSH and Telnet for Windows and Unix platforms
* [[http://mobaxterm.mobatek.net/|MobaXterm]] The complete toolbox for remote computing
* [[https://git-scm.com/|git]] [[https://git-scm.com/download/gui/windows|git GUI clients]] a free and open source distributed version control system
* [[http://winscp.net/|WinSCP]] graficzny klient SFTP i FTP dla systemu Windows
* [[http://www.cygwin.com|Cygwin]] collection of GNU and Open Source tools which provide functionality similar to a Linux distribution on Windows
* zdalny pulpit [[http://www.realvnc.com/download/viewer/|Real VNC Viewer]] [[http://www.tightvnc.com/|Tight VNC]]
===== Edytory tekstu =====
* [[http://www.gnu.org/software/emacs/tour/|Emacs]]
* ściąga ([[http://www.fizyka.umk.pl/~grochu/emacs/emacs.html|HTML]], [[http://www.fizyka.umk.pl/~grochu/emacs/emacs.pdf|PDF]])
* [[https://www.gnu.org/software/emacs/manual/html_node/emacs/index.html|Emacs - manual]]
* [[https://www.emacswiki.org/|Emacs wiki]]
* [[https://gist.github.com/sonnyksimon/4ebd008962a37d583b7c216a80f537ec|Emacs for Vi users]]
* [[https://ccrma.stanford.edu/guides/package/emacs/emacs.html|Emacs Cheat Sheet]]
* [[http://www.vim.org/|Vim]]
* ściąga ([[http://www.fizyka.umk.pl/~grochu/vim/vim.html|HTML]], [[http://www.fizyka.umk.pl/~grochu/vim/vim.pdf|PDF]])
* [[http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html|Graphical vi-vim Cheat Sheet and Tutorial]]
* [[http://vim-adventures.com/|VIM adventures]] [[http://www.openvim.com/tutorial.html|Interaktywny tutorial VI]]
* [[http://newbiedoc.sourceforge.net/text_editing/vim.html|Beginner's guide to Vi Improved (vim)]]
* [[wp>Editor_war|Editor war]]
===== git =====
* [[https://git-scm.com/doc|git - dokumentacja]]
* [[http://gitready.com/|git ready]] learn git one commit at a time by Nick Quaranto
* {{https://education.github.com/git-cheat-sheet-education.pdf|git cheat sheet}} by GitHub Education
===== UNIX/Linux inf. o systemie i administracja =====
* [[wppl>Filesystem_Hierarchy_Standard|Filesystem Hierarchy Standard]]
* [[wppl>Procfs|procfs]] system plików procesów ([[https://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/proc.html|/proc/]])
* [[http://www.gnu.org/software/coreutils/manual/index.html|GNU Coreutils - dokumentacja]]
* [[http://www.pixelbeat.org/docs/unix_commands/|UNIX core commands]]
* [[http://www.tldp.org/LDP/lpg/|The Linux Programmer's Guide]]
* [[http://pubs.opengroup.org/onlinepubs/7908799/index.html|The Single UNIX® Specification, Version 2]]
===== Certyfikaty Linux Professional Institute =====
* [[http://www.lpi.org/|Linux Professional Institute]]
* [[https://www.lpi.org/our-certifications/linux-essentials-overview|Linux Essentials]]
* [[http://www.lpi.org/our-certifications/lpic-1-overview|LPIC-1 Overview]]
* [[https://www.tuxcademy.org/media/lpic1/|Materiały przygotowujące do certyfikatu LPIC-1]]
* [[https://www.tuxcademy.org/product/grd1/|Introduction to Linux]]
* [[https://www.tuxcademy.org/product/adm1/|Linux Administration I]]
* [[https://www.tuxcademy.org/product/grd2/|Advanced Linux]] - The Linux Shell and Toolkit
* [[https://www.tuxcademy.org/product/adm2/|Linux Administration II]] - Linux as a Network Client
===== Inne =====
* [[https://www.ifiz.umk.pl/dla-pracownikow/lan/|Sieć LAN na WFAiIS (Regulamin korzystania z sieci wydziałowej)]]
* [[http://andyk.pg.gda.pl/skrypty/|Przydatne proste skrypty dla linuxa]]