add headers to lk

This commit is contained in:
2022-01-16 19:20:39 +01:00
parent bdc4ea87cb
commit aac84da38a
137 changed files with 543 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
---
title: "X"
tags: [ "Documentation", "system" ]
---
X is a server which listens to requests for display.
Basic configurations are under /etc/X11, but xorg.conf is generally no longer used.

View File

@@ -1,3 +1,7 @@
---
title: "android"
tags: [ "Documentation", "system" ]
---
# mtpfs
## Start

View File

@@ -1,3 +1,7 @@
---
title: "awk"
tags: [ "Documentation", "system" ]
---
# Basics
See a file's contents:

View File

@@ -1,3 +1,7 @@
---
title: "bash_tricks"
tags: [ "Documentation", "system" ]
---
# Automatic mp3 Tagging
/u/OneTurnMore on Reddit:

View File

@@ -1,3 +1,7 @@
---
title: "character-encoding"
tags: [ "Documentation", "system" ]
---
Convert a text file from one encoding type to another with:
> iconv -f ascii -t utf8 oldfilename > newfilename

View File

@@ -1,3 +1,7 @@
---
title: "compression"
tags: [ "Documentation", "system" ]
---
# Tar
## Basics

View File

@@ -1,3 +1,7 @@
---
title: "cronie"
tags: [ "Documentation", "system" ]
---
Various services from cron exist, e.g.

View File

@@ -1,3 +1,7 @@
---
title: "e-mail"
tags: [ "Documentation", "system" ]
---
# Terminology
|MTA | Mail transfer agent |

View File

@@ -1,3 +1,7 @@
---
title: "editors"
tags: [ "Documentation", "system" ]
---
The system's default text editor can be defined within /etc/profile. It's given the variable `EDITOR`.
Add these lines to /etc/profile:

View File

@@ -1,3 +1,7 @@
---
title: "elvish"
tags: [ "Documentation", "system" ]
---
# Setup
To run a shell as non-root, the shell must be listed in /etc/shells.

View File

@@ -1,3 +1,7 @@
---
title: "kernel"
tags: [ "Documentation", "system" ]
---
Check which kernet modules are loaded into memory
> sudo /sbin/lsmod

View File

@@ -1,3 +1,7 @@
---
title: "logs"
tags: [ "Documentation", "system" ]
---
# Basic
Keeping track of health problems. Mostly under /var/log/.

View File

@@ -1,3 +1,7 @@
---
title: "partitions"
tags: [ "Documentation", "system" ]
---
# FDisk Basics
> sudo fdisk /dev/sda

View File

@@ -1,3 +1,7 @@
---
title: "snaps"
tags: [ "Documentation", "system" ]
---
> sudo apt-get purge -y snapd
#Hiding from Nautilus

View File

@@ -1,3 +1,7 @@
---
title: "basics"
tags: [ "Documentation", "system" ]
---
> systemctl list-units
> sudo systemctl status mpd

View File

@@ -1,3 +1,7 @@
---
title: "journal"
tags: [ "Documentation", "system" ]
---
Find errors since November

View File

@@ -1,3 +1,6 @@
---
tags: [ "Documentation", "system" ]
---
# Basics
A service can consist of two files - the .sh script to run, and the .service file which describes its run conditions.

View File

@@ -1,3 +1,7 @@
---
title: "users"
tags: [ "Documentation", "system" ]
---
# Automatic Login
> cp /usr/lib/systemd/system/getty@.service /etc/systemd/system/getty1@.service

View File

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

View File

@@ -1,3 +1,7 @@
---
title: "upx"
tags: [ "Documentation", "system" ]
---
upx compresses binaries, so they take up less disk space, but take longer to start.
Make a binary, such as ls, compressed:

View File

@@ -1 +1,5 @@
---
title: "urxvt"
tags: [ "Documentation", "system" ]
---
Perl scripts typically kept in /usr/lib/urxvt/perl

View File

@@ -1,3 +1,7 @@
---
title: "virtualbox"
tags: [ "Documentation", "system" ]
---
# Setup
## Arch Linux

View File

@@ -1 +1,5 @@
---
title: "wine"
tags: [ "Documentation", "system" ]
---
maybe run \n> sudo dpkg --add-architecture i386

View File

@@ -1,3 +1,7 @@
---
title: "xdg"
tags: [ "Documentation", "system" ]
---
What filetype is this file?

View File

@@ -1,3 +1,7 @@
---
title: "xkbmap"
tags: [ "Documentation", "system" ]
---
# Language Layouts
Polish