diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c4014f9..a96f489 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -51,3 +51,9 @@ repos: rev: v0.12.0 hooks: - id: markdownlint + - repo: https://github.com/tcort/markdown-link-check + rev: v3.11.2 + hooks: + - id: markdown-link-check + args: + - -q diff --git a/knowledge base/asdf.md b/knowledge base/asdf.md index cc8e023..cf9a377 100644 --- a/knowledge base/asdf.md +++ b/knowledge base/asdf.md @@ -155,4 +155,4 @@ The versions listed in such file can be: [plugins list]: https://github.com/asdf-vm/asdf-plugins -[.tool-versions example]: ../examples/.tool-versions +[.tool-versions example]: ../examples/dotfiles/.tool-versions diff --git a/knowledge base/bash.md b/knowledge base/bash.md index 8340e7e..5b3797d 100644 --- a/knowledge base/bash.md +++ b/knowledge base/bash.md @@ -391,7 +391,7 @@ All the references in the [further readings] section, plus the following: [6 bash tricks you can use daily]: https://medium.com/for-linux-users/6-bash-tricks-you-can-use-daily-a32abdd8b13 [bash startup files loading order]: https://youngstone89.medium.com/unix-introduction-bash-startup-files-loading-order-562543ac12e9 [how to detect if a script is being sourced]: https://stackoverflow.com/questions/2683279/how-to-detect-if-a-script-is-being-sourced#28776166 -[speed up your command line navigation]: https://blog.jread.com/speed-up-your-command-line-navigation-d4050207f02c +[speed up your command line navigation]: https://blog.jread.com/posts/speed-up-your-command-line-navigation-part-1/ [the bash trap command]: https://www.linuxjournal.com/content/bash-trap-command [the essential bash cheat sheet]: https://betterprogramming.pub/the-essential-bash-cheat-sheet-e1c3df06560 [upper- or lower-casing strings]: https://scriptingosx.com/2019/12/upper-or-lower-casing-strings-in-bash-and-zsh/ diff --git a/knowledge base/best practices.md b/knowledge base/best practices.md index 94757d7..e001972 100644 --- a/knowledge base/best practices.md +++ b/knowledge base/best practices.md @@ -66,7 +66,7 @@ Based on experience. [safe]: safe.placeholder -[the automation paradox]: the%20automation%20paradox.placeholder +[the automation paradox]: the%20automation%20paradox.md [a case against "platform teams"]: https://kislayverma.com/organizations/a-case-against-platform-teams/ diff --git a/knowledge base/cloud-init.md b/knowledge base/cloud-init.md index 23cb806..570644f 100644 --- a/knowledge base/cloud-init.md +++ b/knowledge base/cloud-init.md @@ -173,12 +173,12 @@ All the references in the [further readings] section, plus the following: --> -[debugging cloud-init]: https://cloudinit.readthedocs.io/en/latest/topics/debugging.html +[debugging cloud-init]: https://canonical-cloud-init.readthedocs-hosted.com/en/latest/howto/debugging.html [examples]: https://cloudinit.readthedocs.io/en/latest/topics/examples.html -[merging user-data sections]: https://cloudinit.readthedocs.io/en/latest/topics/merging.html +[merging user-data sections]: https://canonical-cloud-init.readthedocs-hosted.com/en/latest/reference/merging.html [modules]: https://cloudinit.readthedocs.io/en/latest/topics/modules.html [mime multi part archive]: https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive -[tutorial]: https://cloudinit.readthedocs.io/en/latest/topics/tutorial.html +[tutorial]: https://canonical-cloud-init.readthedocs-hosted.com/en/latest/tutorial/ [website]: https://cloud-init.io/ diff --git a/knowledge base/create, mount and use an encrypted disk.md b/knowledge base/create, mount and use an encrypted disk.md index e2dcf14..5592af1 100644 --- a/knowledge base/create, mount and use an encrypted disk.md +++ b/knowledge base/create, mount and use an encrypted disk.md @@ -64,5 +64,5 @@ All the references in the [further readings] section, plus the following: [encrypted root filesystem]: encrypted%20root%20filesystem.md -[create an encrypted btrfs device]: scripts/create-an-encrypted-btrfs-device.sh -[create an encrypted zfs device]: scripts/create-an-encrypted-btrfs-device.sh +[create an encrypted btrfs device]: ../scripts/create-an-encrypted-btrfs-device.sh +[create an encrypted zfs device]: ../scripts/create-an-encrypted-zfs-device.sh diff --git a/knowledge base/curl.md b/knowledge base/curl.md index e550334..750d77a 100644 --- a/knowledge base/curl.md +++ b/knowledge base/curl.md @@ -145,7 +145,7 @@ All the references in the [further readings] section, plus the following: [book]: https://everything.curl.dev/ [config file]: https://everything.curl.dev/cmdline/configfile -[http2]: https://everything.curl.dev/http/http2 +[http2]: https://everything.curl.dev/http/versions/http2 [further readings]: #further-readings diff --git a/knowledge base/get the environment of processes running in containers.md b/knowledge base/get the environment of processes running in containers.md index adadc43..7af6498 100644 --- a/knowledge base/get the environment of processes running in containers.md +++ b/knowledge base/get the environment of processes running in containers.md @@ -38,8 +38,8 @@ All the references in the [further readings] section, plus the following: [further readings]: #further-readings -[kubectl]: kubectl.md -[kubernetes]: README.md +[kubectl]: kubernetes/kubectl.md +[kubernetes]: kubernetes/README.md [get the environment variables of running process in container]: https://unix.stackexchange.com/a/412730 diff --git a/knowledge base/immutable operating systems.md b/knowledge base/immutable operating systems.md index aaf7ba0..5fa21a3 100644 --- a/knowledge base/immutable operating systems.md +++ b/knowledge base/immutable operating systems.md @@ -9,6 +9,8 @@ References --> + +[fedora silverblue]: https://fedoraproject.org/silverblue/ + -[fedora silverblue]: fedora%20silverblue.md [microos]: microos.md diff --git a/knowledge base/kubernetes/kapp.md b/knowledge base/kubernetes/kapp.md index cc7b82c..a4a7040 100644 --- a/knowledge base/kubernetes/kapp.md +++ b/knowledge base/kubernetes/kapp.md @@ -30,4 +30,4 @@ $ kapp -y deploy -a 'my-app' -f <(ytt -f './examples/simple-app-example/config-1 --> -[website]: https://get-kapp.io +[website]: https://carvel.dev/kapp/ diff --git a/knowledge base/kubernetes/kubectl.md b/knowledge base/kubernetes/kubectl.md index 24b6a5c..9cb7123 100644 --- a/knowledge base/kubernetes/kubectl.md +++ b/knowledge base/kubernetes/kubectl.md @@ -632,7 +632,7 @@ All the references in the [further readings] section, plus the following: [jsonpath]: ../jsonpath.md -[krew]: krew.md +[krew]: krew.placeholder [kubernetes]: README.md diff --git a/knowledge base/linux kernel modules.md b/knowledge base/linux kernel modules.md index f8862b7..4b15b34 100644 --- a/knowledge base/linux kernel modules.md +++ b/knowledge base/linux kernel modules.md @@ -56,8 +56,6 @@ options brcmfmac roamoff=1 feature_disable=0x82000 ## Sources -All the references in the [further readings] section, plus the following: - - The [Kernel module][arch wiki kernel module] page in the [Arch wiki] - The [Kernel modules][gentoo wiki kernel modules] @@ -65,9 +63,6 @@ All the references in the [further readings] section, plus the following: References --> - -[further readings]: #further-readings - [arch wiki]: https://wiki.archlinux.org [arch wiki kernel module]: https://wiki.archlinux.org/title/Kernel_module diff --git a/knowledge base/mac os x/openssl-osx-ca.md b/knowledge base/mac os x/openssl-osx-ca.md index 74e1ca1..bc9ba43 100644 --- a/knowledge base/mac os x/openssl-osx-ca.md +++ b/knowledge base/mac os x/openssl-osx-ca.md @@ -36,5 +36,5 @@ find "$(brew --prefix)/etc" -type 'f' -name 'cert.pem' -path '*/openssl*' -exec [github]: https://github.com/raggi/openssl-osx-ca -[homebrew]: homebrew.md +[homebrew]: ../homebrew.md [mac os x]: README.md diff --git a/knowledge base/microos.md b/knowledge base/microos.md index 5667bd5..52a8bdf 100644 --- a/knowledge base/microos.md +++ b/knowledge base/microos.md @@ -37,7 +37,6 @@ See [MicroOS Desktop] for more and updated information. ## Sources -- [MicroOS Desktop] - [MicroOS Portal] -[microos desktop]: https://opensuse.github.io/openSUSE-docs-revamped-temp/microos_getting_started/ [microos portal]: https://en.opensuse.org/Portal:MicroOS diff --git a/knowledge base/pipx.md b/knowledge base/pipx.md index 37b60cb..a537a22 100644 --- a/knowledge base/pipx.md +++ b/knowledge base/pipx.md @@ -54,7 +54,7 @@ pipx uninstall 'azure-cli' --> -[website]: https://pypa.github.io/pipx/ +[website]: https://pipx.pypa.io/stable/ [pip]: pip.md diff --git a/knowledge base/prometheus.md b/knowledge base/prometheus.md index 81e33dd..11f02ad 100644 --- a/knowledge base/prometheus.md +++ b/knowledge base/prometheus.md @@ -120,7 +120,7 @@ All the references in the [further readings] section, plus the following: [grafana]: grafana.md [node exporter]: node%20exporter.md -[smnp exporter]: smnp%20exporter.md +[snmp exporter]: snmp%20exporter.md [docker/monitoring]: ../docker/monitoring/README.md diff --git a/knowledge base/replicated.md b/knowledge base/replicated.md index e5ba309..bdb3ba3 100644 --- a/knowledge base/replicated.md +++ b/knowledge base/replicated.md @@ -28,4 +28,4 @@ replicated admin --tty=0 retrieve-iact [replicatedctl]: replicatedctl.md -[configuration file example]: ../examples/terraform%20enterprise/replicated.settings.json +[configuration file example]: ../examples/terraform/enterprise/replicated.settings.json diff --git a/knowledge base/send an email from cli.md b/knowledge base/send an email from cli.md index 6edf75a..b6a652b 100644 --- a/knowledge base/send an email from cli.md +++ b/knowledge base/send an email from cli.md @@ -28,5 +28,5 @@ uuencode file.txt | mail -s "Subject" recipient@mail.server --> -[linux mail command examples]: https://www.binarytides.com/linux-mail-command-examples +[linux mail command examples]: https://www.binarytides.com/linux-mail-command-examples/ [uuencode]: https://linux.101hacks.com/unix/uuencode/ diff --git a/knowledge base/set the ondemand cpu governor to not rise the frequencies for niced load.md b/knowledge base/set the ondemand cpu governor to not rise the frequencies for niced load.md index 33b411d..09f3738 100644 --- a/knowledge base/set the ondemand cpu governor to not rise the frequencies for niced load.md +++ b/knowledge base/set the ondemand cpu governor to not rise the frequencies for niced load.md @@ -25,7 +25,7 @@ echo "w /sys/devices/system/cpu/cpufreq/ondemand/ignore_nice_load - - - - 1" | s --> -[cpufreq]: cpufreq.md +[cpupower]: cpupower.md [laptop overheating and battery duration reduction]: https://wiki.archlinux.org/?title=BOINC#Laptop_overheating_and_battery_duration_reduction diff --git a/knowledge base/synology dsm.md b/knowledge base/synology dsm.md index 5b58ff3..8944ed0 100644 --- a/knowledge base/synology dsm.md +++ b/knowledge base/synology dsm.md @@ -219,7 +219,7 @@ All the references in the [further readings] section, plus the following: [further readings]: #further-readings -[michelecereda/keybaseio-client]: ../docker/keybaseio-client/README.md +[michelecereda/keybaseio-client]: ../docker/keybaseio-git-client/README.md [configuring deduplication block on the synology]: https://onedrive.live.com/?authkey=%21ACYMJq62iJaU7HY&cid=1E8D74207941B8DD&id=1E8D74207941B8DD%21243&parId=1E8D74207941B8DD%21121&o=OneUp diff --git a/knowledge base/uci.md b/knowledge base/uci.md index 4750c08..fdd7c97 100644 --- a/knowledge base/uci.md +++ b/knowledge base/uci.md @@ -65,4 +65,4 @@ reload_config [the uci system]: https://openwrt.org/docs/guide-user/base-system/uci -[Turris Omnia]: turris.md +[Turris Omnia]: turris%20os.md diff --git a/knowledge base/useradd.md b/knowledge base/useradd.md index 77e8d74..6864dc2 100644 --- a/knowledge base/useradd.md +++ b/knowledge base/useradd.md @@ -46,4 +46,4 @@ sudo useradd --system username --> -[cheat.sh]: cheat.sh/useradd +[cheat.sh]: https://cheat.sh/useradd diff --git a/knowledge base/userdel.md b/knowledge base/userdel.md index a9a524c..59a43ad 100644 --- a/knowledge base/userdel.md +++ b/knowledge base/userdel.md @@ -29,4 +29,4 @@ sudo userdel --remove username --> -[cheat.sh]: cheat.sh/userdel +[cheat.sh]: https://cheat.sh/userdel diff --git a/knowledge base/usermod.md b/knowledge base/usermod.md index 6f8dc66..46dcd13 100644 --- a/knowledge base/usermod.md +++ b/knowledge base/usermod.md @@ -45,4 +45,4 @@ sudo usermod --move-home --home path/to/new_home lonny --> -[cheat.sh]: cheat.sh/usermod +[cheat.sh]: https://cheat.sh/usermod