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
+4
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.
+4
View File
@@ -1,3 +1,7 @@
---
title: "android"
tags: [ "Documentation", "system" ]
---
# mtpfs
## Start
+4
View File
@@ -1,3 +1,7 @@
---
title: "awk"
tags: [ "Documentation", "system" ]
---
# Basics
See a file's contents:
+4
View File
@@ -1,3 +1,7 @@
---
title: "bash_tricks"
tags: [ "Documentation", "system" ]
---
# Automatic mp3 Tagging
/u/OneTurnMore on Reddit:
+4
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
+4
View File
@@ -1,3 +1,7 @@
---
title: "compression"
tags: [ "Documentation", "system" ]
---
# Tar
## Basics
+4
View File
@@ -1,3 +1,7 @@
---
title: "cronie"
tags: [ "Documentation", "system" ]
---
Various services from cron exist, e.g.
+4
View File
@@ -1,3 +1,7 @@
---
title: "e-mail"
tags: [ "Documentation", "system" ]
---
# Terminology
|MTA | Mail transfer agent |
+4
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:
+4
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.
+4
View File
@@ -1,3 +1,7 @@
---
title: "kernel"
tags: [ "Documentation", "system" ]
---
Check which kernet modules are loaded into memory
> sudo /sbin/lsmod
+4
View File
@@ -1,3 +1,7 @@
---
title: "logs"
tags: [ "Documentation", "system" ]
---
# Basic
Keeping track of health problems. Mostly under /var/log/.
+4
View File
@@ -1,3 +1,7 @@
---
title: "partitions"
tags: [ "Documentation", "system" ]
---
# FDisk Basics
> sudo fdisk /dev/sda
+4
View File
@@ -1,3 +1,7 @@
---
title: "snaps"
tags: [ "Documentation", "system" ]
---
> sudo apt-get purge -y snapd
#Hiding from Nautilus
+4
View File
@@ -1,3 +1,7 @@
---
title: "basics"
tags: [ "Documentation", "system" ]
---
> systemctl list-units
> sudo systemctl status mpd
+4
View File
@@ -1,3 +1,7 @@
---
title: "journal"
tags: [ "Documentation", "system" ]
---
Find errors since November
+3
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.
+4
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
+4
View File
@@ -1,3 +1,7 @@
---
title: "tmux"
tags: [ "Documentation", "system" ]
---
Start with:
> tmux
+4
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:
+4
View File
@@ -1 +1,5 @@
---
title: "urxvt"
tags: [ "Documentation", "system" ]
---
Perl scripts typically kept in /usr/lib/urxvt/perl
+4
View File
@@ -1,3 +1,7 @@
---
title: "virtualbox"
tags: [ "Documentation", "system" ]
---
# Setup
## Arch Linux
+4
View File
@@ -1 +1,5 @@
---
title: "wine"
tags: [ "Documentation", "system" ]
---
maybe run \n> sudo dpkg --add-architecture i386
+4
View File
@@ -1,3 +1,7 @@
---
title: "xdg"
tags: [ "Documentation", "system" ]
---
What filetype is this file?
+4
View File
@@ -1,3 +1,7 @@
---
title: "xkbmap"
tags: [ "Documentation", "system" ]
---
# Language Layouts
Polish