Last Sync: 2022-05-26 07:30:04

This commit is contained in:
tactonbishop 2022-05-26 07:30:04 +01:00
parent cc086b5b67
commit 6f90af31a6
4 changed files with 10 additions and 2 deletions

View file

@ -2,11 +2,12 @@
tags: tags:
- Operating_Systems - Operating_Systems
- Linux - Linux
- processes
--- ---
# The Kernel # The Kernel
The kernel acts as the primary mediator between the hardware (CPU, memory) and user processes. Let's look at each of its responsibilities in greater depth: The kernel acts as the primary mediator between the hardware (CPU, memory) and user [processes](../Programming_Languages/Shell_Scripting/Processes.md). Let's look at each of its responsibilities in greater depth:
* process management * process management
* memory management * memory management
* device drivers * device drivers
@ -57,3 +58,6 @@ In Linux there are two particularly important system calls:
Example with a terminal program like `ls`: Example with a terminal program like `ls`:
> When you enter `ls` into the terminal window, the shell that's running inside the terminal window calls `fork()` to create a copy of the shell, and then the new copy of the shell calls `exec(ls)` to run `ls`. (_Ibid._) > When you enter `ls` into the terminal window, the shell that's running inside the terminal window calls `fork()` to create a copy of the shell, and then the new copy of the shell calls `exec(ls)` to run `ls`. (_Ibid._)
## Controlling processes
In Linux we can view, kill, pause and resume processes using [ps](../Programming_Languages/Shell_Scripting/Processes.md).

View file

@ -75,7 +75,10 @@ $ find -not -name "*.js" -type f
./app/index.html ./app/index.html
./app/style.css ./app/style.css
./dist/index.html ./dist/index.html
./dist/style.css ./dist/style.c
dfdf
``` ```
## Actions ## Actions

View file

@ -4,6 +4,7 @@ tags:
- typescript - typescript
--- ---
# Type declarations
## Scalar data types ## Scalar data types
The most basic type level is the one already present in JavaScript itself: the primitive data types: `boolean`, `string` and `number` . These are the types that will be returned from a `typeof` expression. The most basic type level is the one already present in JavaScript itself: the primitive data types: `boolean`, `string` and `number` . These are the types that will be returned from a `typeof` expression.