make header format yaml

This commit is contained in:
2026-04-20 11:24:45 +02:00
parent 0bd5b53092
commit fb96f1bd78
179 changed files with 810 additions and 403 deletions

View File

@@ -1,6 +1,8 @@
---
title: "android"
tags: [ "system", "phone" ]
title: android
tags:
- system
- phone
---
# mtpfs

View File

@@ -1,7 +1,12 @@
---
title: "Ansible Basics"
tags: [ "system", "ansible", "orchestration" ]
requires: [ "ssh", "pass" ]
title: Ansible Basics
tags:
- system
- ansible
- orchestration
requires:
- ssh
- pass
---
# Start Locally

View File

@@ -1,7 +1,12 @@
---
title: "Ansible with Docker"
tags: [ "system", "ansible", "docker" ]
requires: [ "docker", "ansible" ]
title: Ansible with Docker
tags:
- system
- ansible
- docker
requires:
- docker
- ansible
---
'Docker module', you say?

View File

@@ -1,6 +1,8 @@
---
title: "Store Host Password"
tags: [ "system", "ansible" ]
title: Store Host Password
tags:
- system
- ansible
---
Make a hosts file with one host (your computer) and one variable, just to test:

View File

@@ -1,6 +1,8 @@
---
title: "at"
tags: [ "basics", "time" ]
title: at
tags:
- basics
- time
---
Install with:

View File

@@ -1,6 +1,8 @@
---
title: "awk"
tags: [ "system", ".csv" ]
title: awk
tags:
- system
- .csv
---
# Basics

View File

@@ -1,6 +1,8 @@
---
title: "bash tips"
tags: [ "shell", "POSIX" ]
title: bash tips
tags:
- shell
- POSIX
---
## Track Live Changes

View File

@@ -1,6 +1,8 @@
---
title: "Instantly cd anywhere in bash"
tags: [ "system", "bash" ]
title: Instantly cd anywhere in bash
tags:
- system
- bash
---
Change locations quickly with the `bash` built-in variable: `$CDPATH`.

View File

@@ -1,6 +1,8 @@
---
title: "character-encoding"
tags: [ "system", "encoding" ]
title: character-encoding
tags:
- system
- encoding
---
Convert a text file from one encoding type to another with:

View File

@@ -1,6 +1,8 @@
---
title: "Clean Your Downloads"
tags: [ "system", "tmpfs" ]
title: Clean Your Downloads
tags:
- system
- tmpfs
---
'Downloads` directory always too full of crap?

View File

@@ -1,6 +1,8 @@
---
title: "clock"
tags: [ "basics", "time" ]
title: clock
tags:
- basics
- time
---
Show system time:

View File

@@ -1,6 +1,8 @@
---
title: "cron"
tags: [ "basics", "time" ]
title: cron
tags:
- basics
- time
---
# Cronie

View File

@@ -1,6 +1,10 @@
---
title: "deduplicate"
tags: [ "system", "deduplicate", "maintenance", "storage" ]
title: deduplicate
tags:
- system
- deduplicate
- maintenance
- storage
---
`rdfind`: find duplicate files, then delete them, or turn them into links.

View File

@@ -1,6 +1,8 @@
---
title: "Default Programs"
tags: [ "defaults", "mime type" ]
title: Default Programs
tags:
- defaults
- mime type
---
Install the package `xdg-utils`, then make very liberal use of the tab button.

View File

@@ -1,6 +1,7 @@
---
title: "$EDITOR"
tags: [ "system" ]
title: $EDITOR
tags:
- system
---
The System's default text editor can be defined within /etc/profile. It's given the variable `EDITOR`.

View File

@@ -1,6 +1,8 @@
---
title: "fstab"
tags: [ "system", "disk" ]
title: fstab
tags:
- system
- disk
---
# Basics

View File

@@ -1,6 +1,7 @@
---
title: "Managing Groups"
tags: [ "system" ]
title: Managing Groups
tags:
- system
---
Check which groups you are in, and which are available:

View File

@@ -1,6 +1,8 @@
---
title: "hard links"
tags: [ "basics", "links" ]
title: hard links
tags:
- basics
- links
---
A hard link is one file which exists in multiple locations.

View File

@@ -1,6 +1,7 @@
---
title: "kernel modules"
tags: [ "system" ]
title: kernel modules
tags:
- system
---
Kernel modules live in lib/modules/$(uname -r)

View File

@@ -1,6 +1,7 @@
---
title: "kill"
tags: [ "basics" ]
title: kill
tags:
- basics
---
If you want to kill a program in a graphical environment, open a terminal and type:

View File

@@ -1,6 +1,8 @@
---
title: "lf - The Light File Manager"
tags: [ "file browser", "TUI" ]
title: lf - The Light File Manager
tags:
- file browser
- TUI
---
## Config File

View File

@@ -1,6 +1,8 @@
---
title: "links"
tags: [ "basics", "links" ]
title: links
tags:
- basics
- links
---
There are two types:

View File

@@ -1,6 +1,8 @@
---
title: "locale"
tags: [ "basics", "time" ]
title: locale
tags:
- basics
- time
---
Your locale tells the computer your location, preferred time-and-date format, standard language, papersize, et c.

View File

@@ -1,6 +1,7 @@
---
title: "logs"
tags: [ "system" ]
title: logs
tags:
- system
---
# Basic

View File

@@ -1,6 +1,8 @@
---
title: "Makefiles"
tags: [ "system", "make" ]
title: Makefiles
tags:
- system
- make
---
The `make` system wants to know:

View File

@@ -1,6 +1,9 @@
---
title: "Makefile Graphs"
tags: [ "system", "make", "graph" ]
title: Makefile Graphs
tags:
- system
- make
- graph
---
If you have `graph-easy` (often in the package `perl-graph-easy` or similar), you can make a graph from the makefile with `make2graph` (the package is often called `makefile2graph`).

View File

@@ -1,6 +1,9 @@
---
title: "make help target"
tags: [ "system", "make", "help" ]
title: make help target
tags:
- system
- make
- help
---
Make your first target 'help' to give an overview of the main targets.

View File

@@ -1,6 +1,8 @@
---
title: "Makefile Patterns"
tags: [ "system", "make" ]
title: Makefile Patterns
tags:
- system
- make
---
Using the [basic example](../makefiles.md), you can make a complete backup of all backup files.

View File

@@ -1,7 +1,13 @@
---
title: "Python Projects with Makefiles"
tags: [ "tutorial", "system", "makefiles", "graphviz", "python" ]
requires: [ "makefiles" ]
title: Python Projects with Makefiles
tags:
- tutorial
- system
- makefiles
- graphviz
- python
requires:
- makefiles
---
If you have a python script which requires a packages - e.g. `graphviz` - you can automate the setup with a `Makefile`.

View File

@@ -1,6 +1,8 @@
---
title: "mdadm"
tags: [ "RAID", "disk" ]
title: mdadm
tags:
- RAID
- disk
---
# RAID5

View File

@@ -1,6 +1,9 @@
---
title: "Monitoring"
tags: [ "system", "CPU", "memory" ]
title: Monitoring
tags:
- system
- CPU
- memory
---
Print the average CPU load over 1 minute, 5 minutes, and 15 minutes:

View File

@@ -1,6 +1,7 @@
---
title: "partitions"
tags: [ "system" ]
title: partitions
tags:
- system
---
# FDisk Basics

View File

@@ -1,6 +1,7 @@
---
title: "processes"
tags: [ "basics" ]
title: processes
tags:
- basics
---
# Processes

View File

@@ -1,6 +1,9 @@
---
title: "snaps"
tags: [ "system", "Ubuntu", "snap" ]
title: snaps
tags:
- system
- Ubuntu
- snap
---
> sudo apt-get purge -y snapd

View File

@@ -1,6 +1,8 @@
---
title: "soft links"
tags: [ "basics", "links" ]
title: soft links
tags:
- basics
- links
---
A soft link is a file which says how to go to another file.
When a program encounters a soft link, it will make a guess at whether it should ignore it, or try to get to that file.

View File

@@ -1,6 +1,7 @@
---
title: "swap"
tags: [ "system" ]
title: swap
tags:
- system
---
# Making a Swap File

View File

@@ -1,6 +1,7 @@
---
title: "systemd"
tags: [ "systemd" ]
title: systemd
tags:
- systemd
---
```sh
systemctl list-units

View File

@@ -1,6 +1,7 @@
---
title: "journal"
tags: [ "systemd" ]
title: journal
tags:
- systemd
---
See a running log of all system messages:

View File

@@ -1,6 +1,7 @@
---
title: "Making Services"
tags: [ "systemd" ]
title: Making Services
tags:
- systemd
---
# Basics

View File

@@ -1,6 +1,7 @@
---
title: "tmux"
tags: [ "system" ]
title: tmux
tags:
- system
---
Start with:

View File

@@ -1,6 +1,7 @@
---
title: "users"
tags: [ "basics" ]
title: users
tags:
- basics
---
# Basic Information