100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

Samenvatting Operating Systems-1

Rating
-
Sold
1
Pages
50
Uploaded on
06-02-2023
Written in
2022/2023

Samenvatting van Operating Systems 1ste jaar met alle commands en theorie

Institution
Course











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
February 6, 2023
Number of pages
50
Written in
2022/2023
Type
Summary

Subjects

Content preview

Operating systems samenvatting
Inhoud
Inleiding..................................................................................................................................................3
Shell........................................................................................................................................................4
Tekstbestanden......................................................................................................................................9
Bestandsbeheer....................................................................................................................................15
Scripts – deel 1.....................................................................................................................................19
Herhaling..........................................................................................................................................19
Eenvoudige scripts............................................................................................................................20
Variabelen........................................................................................................................................22
Back quotes......................................................................................................................................25
Argumenten......................................................................................................................................26
Log files.............................................................................................................................................26
Scripts deel 2........................................................................................................................................27
Exit codes..........................................................................................................................................27
Condities...........................................................................................................................................28
Functies............................................................................................................................................32
Iteraties............................................................................................................................................33
Switch-case.......................................................................................................................................34
Gebruikers en permissies.....................................................................................................................35
Gebruikers en groepen.....................................................................................................................35
Permissies.........................................................................................................................................38
Proces- en pakketbeheer......................................................................................................................40
Pakketbeheer...................................................................................................................................40
Procesbeheer....................................................................................................................................42
Schijfbeheer..........................................................................................................................................44
Opslag en partities............................................................................................................................44
Koppelen van een file system...........................................................................................................46
Swap space.......................................................................................................................................47
Diskruimte........................................................................................................................................47
Aanvulling oefeningen..........................................................................................................................48
Week 9..............................................................................................................................................48
Week 11............................................................................................................................................49
11.2...............................................................................................................................................49


Pagina 1 van 50

,Pagina 2 van 50

,Inleiding
 Operating systems
o = Linux
 Bash command line (commando’s geven)
 Bash scripting (automatiseren)
 Gebruik je op servers,… Praktisch alles wat in de cloud zit
o Elke machine heeft een operating system nodig
 Real-time OS = heel specifiek
 Bv.: Windows, Mac, IOS, Andriod
o (word, browser, … communiceren allemaal met het operating system)
o UNIX
 = één van de eerste OS, closed source (alleen de makers konden er aan
werken, andere mensen konden er niet dingen in aanpassen + was betalend)
 Kleine programma gecombineerd <-> Windows is één groot bestand
 Hierdoor minder kans op bugs
 Programma’s werken met tekstbestanden (ASCII of unicode) als input-output
 UNIX kernel
 Taken
o Hardware aansturen (muis, scherm, …)
o Booting / opstarten
o Bestandsbeheer
 Harde schijf > (opgedeeld in) partities > blokken data
o Procesbeheer
 Beheert meerdere applicaties tegelijkertijd
o Geheugenbeheer
o …
 Zonder kernel moet iedere applicatie dit allemaal zelf doen
 Multi-user (gebruikers kunnen tegelijkertijd op één systeem, via
terminals
 Interactie met gebruiker via terminal (tekst) of X-terminal (grafisch)
 Multitasking
 “Processor onafhankelijk”: grotendeels geschreven in C
 Geschiedenis
o 1965: UNIX, C (closed source door Ken Thompson en Dennis Richie)
o 1985 – 1989: Open source, GNU (Richard Stallman)
 GNU is Not Unix (open sourcebeweging)
 GPL (= Gnu Public Licence)
 Free speech <-> free beer (GNU hoeft niet persé gratis te zijn)
 LibreOffice, Firefox, Wikipedia, …
o 1987: Minix (Andrew S. Tanenbaum)
o 1991: Linux kernel: Linus Torvalds
 Kernel = stuk van een operating system




Pagina 3 van 50

,  Schema operating system:




 Open source
o Software (LibreOffice, Audacity,…)
o Boeken (vb. Boek linux, cursus hardware)
o Processoren (vb. MIPS, Sun Sparc, Moncky, …)
o Hardware (Thingiverse) -> gebruikt om voorwerpen 3D te printen
o Auto’s (wikispeed,…)
o …
o Veel versies
 Veel distributies van GNU/Linux
 Debian based (ubuntu)
 Redhat based (Fedora)
 Oracle
 …

Shell
 Command prompt (= command line)
o In Windows:
 “DOS” prompt (= tekstgebaseerde gebruikersinterface, Disk Operating
System)
 “cmd” (= command) of “powershell”
 Windows subsystem for Linux (WSL)
o MAC OSX
 “terminal
o Secure shell
 Server in de cloud Meestal
 Geen user interface
 Secure shell gebruiken om verbinding te maken




Pagina 4 van 50
R152,07
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
emmabogaerts1

Document also available in package deal

Get to know the seller

Seller avatar
emmabogaerts1 Universiteit Antwerpen
Follow You need to be logged in order to follow users or courses
Sold
8
Member since
3 year
Number of followers
5
Documents
5
Last sold
4 months ago

0,0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions