retag Linux with lowercase

This commit is contained in:
Thomas Bishop 2026-01-31 12:21:49 +00:00
parent ee7d7ce00a
commit af6087fe9b
41 changed files with 78 additions and 91 deletions

View file

@ -1,41 +1,35 @@
---
tags:
- operating-systems
- Linux
- linux
---
# Basic model of a nix operating system
# Basic model of a \*nix operating system
We can abstract the Linux OS into three operational levels or tiers, from the
bottom up:
<dl>
<dt>User processes: user space</dt>
<dd>The running programs that the kernel manages. Also known as the user space which is the memory that the kernal assigns for user processes. Comprising:
<ul>
<li>Graphical user interface</li>
<li>Servers</li>
<li>Shell</li>
</ul>
<dt>Kernel: kernel space</dt>
</dd>
<dd>The core of the operating system. Software residing in memory that tells the CPU where to look for its next task. Acts as a mediator and primary interface between the hardware and the user processes. Known as kernel space: the memory that the kernel allocates for itself. Comprising:
<ul>
<li>System calls</li>
<li>Process management</li>
<li>Memory management</li>
<li>Device drivers</li>
</ul>
</dd>
<dt>Hardware</dt>
<dd>The base: one or more CPUs and RAM memory performing computations and writing to memory. Comprising:
<ul>
<li>Processor (CPU)</li>
<li>Main memory (RAM)</li>
<li>Disks</li>
<li>Network ports</li>
</ul>
</dl>
- **User processes: user space**
- The running programs that the kernel manages. Also known as the user space
which is the memory that the kernel assigns for user processes. Comprising:
- Graphical user interface
- Servers
- Shell
!! Add info on kernel mode and user mode
https://www.geeksforgeeks.org/user-mode-and-kernel-mode-switching/
- **Kernel: kernel space**
- The core of the operating system. Software residing in memory that tells the
CPU where to look for its next task. Acts as a mediator and primary
interface between the hardware and the user processes. Known as kernel
space: the memory that the kernel allocates for itself. Comprising:
- System calls
- Process management
- Memory management
- Device drivers
- **Hardware**
- The base: one or more CPUs and RAM memory performing computations and
writing to memory. Comprising:
- Processor (CPU)
- Main memory (RAM)
- Disks
- Network ports

View file

@ -3,7 +3,7 @@ tags:
- networks
- procedural
- bluetooth
- Linux
- linux
---
# Bluetooth

View file

@ -1,5 +1,5 @@
---
tags: [Linux, procedural]
tags: [linux, procedural]
---
# Compile package from source

View file

@ -1,5 +1,5 @@
---
tags: [docker, containerization, Linux]
tags: [docker, containerization, linux]
---
# Containerizaton
@ -31,11 +31,11 @@ increased the speed of transport.
particular implementation of containerization that simplifies the process and
bases it on a standardised specification.
- Containers are native to the Linux [kernal](The_kernel.md)
and are key part of how it works. Thus when you run containers on Linux, you
are using native capability. When you use containers on Windows or Mac you
have to run a virtual version of Linux in order to exploit the capabilities of
that kernel. (Docker provides this)
- Containers are native to the Linux [kernal](The_kernel.md) and are key part of
how it works. Thus when you run containers on Linux, you are using native
capability. When you use containers on Windows or Mac you have to run a
virtual version of Linux in order to exploit the capabilities of that kernel.
(Docker provides this)
## How containers work
@ -51,11 +51,11 @@ groups).
example a container is ignorant of the underlying operating system and
network, by default.
In ordinary [user space](User_Space.md) applications share
the _same_ processor, memory and file system resources. This increases the
likelihood of resourcing challenges, dependency conflicts and security threats.
Without modularisation and the titration of resources, you are opened up to much
greater possibility of failure.
In ordinary [user space](User_Space.md) applications share the _same_ processor,
memory and file system resources. This increases the likelihood of resourcing
challenges, dependency conflicts and security threats. Without modularisation
and the titration of resources, you are opened up to much greater possibility of
failure.
For example one application could fill up the harddrive preventing other
applications from writing to it. One application can "bring down" another

View file

@ -2,7 +2,7 @@
tags:
- systems-programming
- systemd
- Linux
- linux
- procedural
---

View file

@ -1,7 +1,7 @@
---
tags:
- disks
- Linux
- linux
created: Monday, May 06, 2024
---

View file

@ -1,7 +1,7 @@
---
tags:
- shell
- Linux
- linux
- procedural
---

View file

@ -1,6 +1,6 @@
---
tags:
- Linux
- linux
- Debian
---

View file

@ -1,6 +1,6 @@
---
tags:
- Linux
- linux
- procedural
---

View file

@ -1,7 +1,7 @@
---
tags:
- computer-architecture
- Linux
- linux
---
# Devices

View file

@ -3,7 +3,7 @@ tags:
- systems-programming
- disks
- procedural
- Linux
- linux
---
# Disk info routines

View file

@ -1,5 +1,5 @@
---
tags: [Linux, permissions]
tags: [linux, permissions]
created: Friday, April 11, 2025
---

View file

@ -1,6 +1,6 @@
---
tags:
- Linux
- linux
---
## Use `&` to send a process to background

View file

@ -2,7 +2,7 @@
id: hb10
tags:
- networks
- Linux
- linux
- raspberry-pi
- procedural
created: Wednesday, June 12, 2024

View file

@ -1,7 +1,7 @@
---
tags:
- disks
- Linux
- linux
- procedural
---

View file

@ -1,5 +1,5 @@
---
tags: [memory, Linux]
tags: [memory, linux]
created: Monday, July 08, 2024
---

View file

@ -1,7 +1,7 @@
---
tags:
- systems-programming
- Linux
- linux
- procedural
---

View file

@ -1,6 +1,6 @@
---
id: ippn
tags: [networks, procedural, Linux, dns]
tags: [networks, procedural, linux, dns]
created: Monday, June 10, 2024
---

View file

@ -1,6 +1,6 @@
---
tags:
- Linux
- linux
- procedural
- arch-linux
---

View file

@ -1,6 +1,5 @@
---
tags: [disks, procedural, Linux]
created: Saturday, April 26, 2025
tags: [disks, procedural, linux]
---
# Repair disks with fsck

View file

@ -1,6 +1,6 @@
---
tags:
- Linux
- linux
- procedural
---

View file

@ -1,6 +1,6 @@
---
id: 2w0e
tags: [Linux, networks]
tags: [linux, networks]
created: Wednesday, June 12, 2024
---

View file

@ -2,7 +2,7 @@
tags:
- procedural
- curl
- Linux
- linux
---
# Silence output in `curl`

View file

@ -1,6 +1,6 @@
---
tags:
- Linux
- linux
- procedural
---

View file

@ -2,7 +2,7 @@
tags:
- memory
- disks
- Linux
- linux
- operating-systems
---
@ -38,8 +38,8 @@ To use an existing disk partition as a swap you can run the command
### Add to `fstab`
You will want the swap to be activated every time the OS boots so add the
following line to the [fstab](Filesystems.md#fstab),
where `/sda3` is used as the example partition:
following line to the [fstab](Filesystems.md#fstab), where `/sda3` is used as
the example partition:
```bash
/dev/sda3e none swap sw 0 0

View file

@ -1,7 +1,7 @@
---
tags:
- shell
- Linux
- linux
- procedural
---

View file

@ -1,6 +1,6 @@
---
tags:
- Linux
- linux
- procedural
- systemd
---

View file

@ -1,6 +1,6 @@
---
tags:
- Linux
- linux
- procedural
---

View file

@ -1,6 +1,6 @@
---
tags:
- Linux
- linux
- procedural
---

View file

@ -1,6 +1,5 @@
---
tags: [networks, procedural, Linux]
created: Friday, January 10, 2025
tags: [networks, procedural, linux]
---
# View IP addresses

View file

@ -1,7 +1,7 @@
---
tags:
- memory
- Linux
- linux
- kernel
---

View file

@ -1,6 +1,5 @@
---
tags: [permissions, Linux]
created: Friday, April 11, 2025
tags: [permissions, linux]
---
Modify file permissions.

View file

@ -1,6 +1,5 @@
---
tags: [permissions, Linux]
created: Friday, April 11, 2025
tags: [permissions, linux]
---
# chown

View file

@ -1,5 +1,5 @@
---
tags: [Linux, procedural, logs]
tags: [linux, procedural, logs]
created: Thursday, April 24, 2025
---

View file

@ -1,7 +1,7 @@
---
tags:
- systems-programming
- Linux
- linux
- procedural
---

View file

@ -1,6 +1,6 @@
---
tags:
- Linux
- linux
- Debian
- mqtt
---

View file

@ -1,13 +1,12 @@
---
tags:
- shell
- Linux
- linux
---
# Processes (`ps`)
`ps` allows us to control [user processes](The_kernel.md)
from the shell.
`ps` allows us to control [user processes](The_kernel.md) from the shell.
The command in its most minimal application returns the following

View file

@ -1,6 +1,5 @@
---
tags: [file-transfer, Linux, procedural, disks]
created: Saturday, April 26, 2025
tags: [file-transfer, linux, procedural, disks]
---
# rsync

View file

@ -1,6 +1,5 @@
---
tags: [file-transfer, Linux, procedural, servers]
created: Sunday, April 27, 2025
tags: [file-transfer, linux, procedural, servers]
---
# scp

View file

@ -1,7 +1,7 @@
---
tags:
- systems-programming
- Linux
- linux
- procedural
- systemd
- operating-systems

View file

@ -3,7 +3,7 @@ id: v5f6xkdv
tags:
- systemd
- systems-programming
- Linux
- linux
- procedural
created: Thursday, February 29, 2024 | 18:19
---