From c91151eb894b2fe0a0922b1a28b345069f151256 Mon Sep 17 00:00:00 2001 From: revsuine Date: Wed, 20 Nov 2024 03:10:44 +0000 Subject: [PATCH] content/blog/_index.md: add blog index with syntax notes --- content/blog/_index.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 content/blog/_index.md diff --git a/content/blog/_index.md b/content/blog/_index.md new file mode 100644 index 0000000..72bc577 --- /dev/null +++ b/content/blog/_index.md @@ -0,0 +1,21 @@ ++++ +date = '2024-11-20T03:07:08Z' +draft = false +title = 'Blog' ++++ + +This is my blog. + +### Syntax notes + +When I write shell commands in code blocks, anything that should be run unprivileged is prefaced with `$`, and anything +that should be run with root privileges is prefaced with `#`. e.g. + + $ vim _index.md + +means to run `vim _index.md` as an unprivileged user. + + # rm -rf --no-preserve-root / + +means to run `rm -rf --no-preserve-root /` as the root user, e.g. with `doas rm -rf --no-preserve-root /`. +