forked from andonome/lk
		
	add headers to lk
This commit is contained in:
		| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "archives" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
| # Tar Archives | # Tar Archives | ||||||
|  |  | ||||||
| To create an archive file, just remember: | To create an archive file, just remember: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "at" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
| Install with: | Install with: | ||||||
|  |  | ||||||
| > sudo apt install at | > sudo apt install at | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "basics" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
| # Absolute Bloody Basics | # Absolute Bloody Basics | ||||||
|  |  | ||||||
| You need about a dozen commands to move around Linux. | You need about a dozen commands to move around Linux. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "clock" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
| # `date` | # `date` | ||||||
|  |  | ||||||
| Show system time: | Show system time: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "conditionals" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
| # If statements | # If statements | ||||||
|  |  | ||||||
| Test statement equality as so: | Test statement equality as so: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "cron" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
| # Cron | # Cron | ||||||
|  |  | ||||||
| Various services from cron exist, e.g. | Various services from cron exist, e.g. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "kernel" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
| # Living Space | # Living Space | ||||||
|  |  | ||||||
| Kernel modules live in lib/modules/$(uname -r) | Kernel modules live in lib/modules/$(uname -r) | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "keyboard" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
| # Set Layout | # Set Layout | ||||||
|  |  | ||||||
| Set layout to British English. | Set layout to British English. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "kill" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
| If you want to kill a program in a graphical environment, open a terminal and typeL | If you want to kill a program in a graphical environment, open a terminal and typeL | ||||||
|  |  | ||||||
| ## Graphical Programs | ## Graphical Programs | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "links" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
| Link from X to Y. | Link from X to Y. | ||||||
|  |  | ||||||
| > ln -s X ../otherdir/Y | > ln -s X ../otherdir/Y | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "locale" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| A list of supported locales is available at /usr/share/i18n/SUPPORTED | A list of supported locales is available at /usr/share/i18n/SUPPORTED | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "locating" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
| # Whereis the Program | # Whereis the Program | ||||||
|  |  | ||||||
| Ask where the `angband` program is, along with all its configuration files: | Ask where the `angband` program is, along with all its configuration files: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "logs" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
| # Syslog Management Protocols | # Syslog Management Protocols | ||||||
|  |  | ||||||
| Let's look at the programs filling in things on our /var/log/ directory. | Let's look at the programs filling in things on our /var/log/ directory. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "packages" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
| # Looking | # Looking | ||||||
|  |  | ||||||
| Your package has something to do with unzipping.  Find out more: | Your package has something to do with unzipping.  Find out more: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "processes" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
| # Free | # Free | ||||||
|  |  | ||||||
| See free space with: | See free space with: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "shell" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
| # Shells | # Shells | ||||||
|  |  | ||||||
| Dash - fast but limited funcionality, great for scripts. | Dash - fast but limited funcionality, great for scripts. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "swap" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
| # Making a Swap File | # Making a Swap File | ||||||
|  |  | ||||||
| > sudo mkdir -v /var/cache/swap | > sudo mkdir -v /var/cache/swap | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "time" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
| # systemd | # systemd | ||||||
|  |  | ||||||
| Set time to synchronize with an ntp server: | Set time to synchronize with an ntp server: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "users" | ||||||
|  | tags: [ "Documentation", "basics" ] | ||||||
|  | --- | ||||||
| # Basic Information | # Basic Information | ||||||
|  |  | ||||||
| Let's get some entries with 'getent', e.g. passwd or group. | Let's get some entries with 'getent', e.g. passwd or group. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "email" | ||||||
|  | tags: [ "Documentation", "chat" ] | ||||||
|  | --- | ||||||
| # Sendmail | # Sendmail | ||||||
|  |  | ||||||
| Compose a message like this: | Compose a message like this: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "irssi" | ||||||
|  | tags: [ "Documentation", "chat" ] | ||||||
|  | --- | ||||||
| In program: | In program: | ||||||
|  |  | ||||||
| > /NETWORK LIST | > /NETWORK LIST | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "profanity" | ||||||
|  | tags: [ "Documentation", "chat" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| # Pre Setup | # Pre Setup | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "wgetpaste" | ||||||
|  | tags: [ "Documentation", "chat" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| See available pastebins: | See available pastebins: | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "archives" | ||||||
|  | tags: [ "Documentation", "data" ] | ||||||
|  | --- | ||||||
| # GPG Archives | # GPG Archives | ||||||
|  |  | ||||||
| Create an encrypted archive with `gpg`: | Create an encrypted archive with `gpg`: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "git" | ||||||
|  | tags: [ "Documentation", "data" ] | ||||||
|  | --- | ||||||
| # Starting | # Starting | ||||||
|  |  | ||||||
| ## New Machines | ## New Machines | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "gpg" | ||||||
|  | tags: [ "Documentation", "data" ] | ||||||
|  | --- | ||||||
| # Making keys | # Making keys | ||||||
|  |  | ||||||
| Generate keys: | Generate keys: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "groff" | ||||||
|  | tags: [ "Documentation", "data" ] | ||||||
|  | --- | ||||||
| # Basic Documents | # Basic Documents | ||||||
|  |  | ||||||
| Great a file called `name.ms`, with the following content: | Great a file called `name.ms`, with the following content: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "khard" | ||||||
|  | tags: [ "Documentation", "data" ] | ||||||
|  | --- | ||||||
| Get the basic config: | Get the basic config: | ||||||
|  |  | ||||||
| > mkdir ~/.config/khard | > mkdir ~/.config/khard | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "pass" | ||||||
|  | tags: [ "Documentation", "data" ] | ||||||
|  | --- | ||||||
| [Video instructions](https://www.hooktube.com/watch?v=hlRQTj1D9LA) | [Video instructions](https://www.hooktube.com/watch?v=hlRQTj1D9LA) | ||||||
|  |  | ||||||
| Setup [gpg](./gpg.md) keys. | Setup [gpg](./gpg.md) keys. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "sc-im" | ||||||
|  | tags: [ "Documentation", "data" ] | ||||||
|  | --- | ||||||
| # Basic Commands | # Basic Commands | ||||||
|  |  | ||||||
| > H = highest part | > H = highest part | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "sdcv" | ||||||
|  | tags: [ "Documentation", "data" ] | ||||||
|  | --- | ||||||
| # Install New Dictionaries | # Install New Dictionaries | ||||||
|  |  | ||||||
| If the path doesn't exist then: | If the path doesn't exist then: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "postgresql" | ||||||
|  | tags: [ "Documentation", "data" ] | ||||||
|  | --- | ||||||
| # Setup | # Setup | ||||||
|  |  | ||||||
| Install postgres and start it as a service, then start with: | Install postgres and start it as a service, then start with: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "sql" | ||||||
|  | tags: [ "Documentation", "data" ] | ||||||
|  | --- | ||||||
| MySQL, Aurora and the Maria Database work similarly, and mostly with the same commands. | MySQL, Aurora and the Maria Database work similarly, and mostly with the same commands. | ||||||
|  |  | ||||||
| MySQL requires 160 Megs of disk space. | MySQL requires 160 Megs of disk space. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "tricks" | ||||||
|  | tags: [ "Documentation", "data" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| # Find data from any table | # Find data from any table | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "task" | ||||||
|  | tags: [ "Documentation", "data" ] | ||||||
|  | --- | ||||||
| # Contexts | # Contexts | ||||||
|  |  | ||||||
| Set three contexts by their tags: | Set three contexts by their tags: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "taskd" | ||||||
|  | tags: [ "Documentation", "data" ] | ||||||
|  | --- | ||||||
| (instructions currently not working) | (instructions currently not working) | ||||||
|  |  | ||||||
| Switch to root to make things easier. | Switch to root to make things easier. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "timew" | ||||||
|  | tags: [ "Documentation", "data" ] | ||||||
|  | --- | ||||||
| # Setup | # Setup | ||||||
|  |  | ||||||
| Below commands mostly deal with timew alone.  With taskwarrior installed as well, `locate on-modify-time`, then add it to ~/.task/hooks and make it executable. | Below commands mostly deal with timew alone.  With taskwarrior installed as well, `locate on-modify-time`, then add it to ~/.task/hooks and make it executable. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "w3m" | ||||||
|  | tags: [ "Documentation", "data" ] | ||||||
|  | --- | ||||||
| 'H' for help.   | 'H' for help.   | ||||||
|  |  | ||||||
| Ctrl+u to go to new url. | Ctrl+u to go to new url. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "arch_pi_install" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
| # Initial Setup | # Initial Setup | ||||||
| <!-- modified since testing | <!-- modified since testing | ||||||
| --> | --> | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "autologin" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
| # Automatic Login | # Automatic Login | ||||||
|  |  | ||||||
| Edit /etc/systemd/system/getty@tty1.service.d/override.conf by typing: | Edit /etc/systemd/system/getty@tty1.service.d/override.conf by typing: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "basic-install" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
| Keyboard layout changed. | Keyboard layout changed. | ||||||
|  |  | ||||||
| > ls /usr/share/kbd/keymaps/**/*.map.gz | > ls /usr/share/kbd/keymaps/**/*.map.gz | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "blackarch" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| ## Basics | ## Basics | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "encrypted" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
| > # taken from https://0x00sec.org/t/arch-linux-with-lvm-on-luks-dm-crypt-disk-encryption-installation-guide-legacy-bios-system/1479 | > # taken from https://0x00sec.org/t/arch-linux-with-lvm-on-luks-dm-crypt-disk-encryption-installation-guide-legacy-bios-system/1479 | ||||||
|   |   | ||||||
| > # if you need wifi | > # if you need wifi | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "fonts" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
| # Basics | # Basics | ||||||
|  |  | ||||||
| Update font-cache: | Update font-cache: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "lxc" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
| # Distro Specifics | # Distro Specifics | ||||||
|  |  | ||||||
| Arch dependencies: `arch-install-scripts` `dnsmasq` | Arch dependencies: `arch-install-scripts` `dnsmasq` | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "pacman" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| Packages are kept in /var/cache/pacman/pkg. | Packages are kept in /var/cache/pacman/pkg. | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "pi-hole-server" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| > yay -S pi-hole-server | > yay -S pi-hole-server | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "problems" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| Broken Xorg | Broken Xorg | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "signal" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| > yay -S signal-cli | > yay -S signal-cli | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "apt" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
| ## apt | ## apt | ||||||
|  |  | ||||||
| ### Configurations? | ### Configurations? | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "lubuntu" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| # Videos not working | # Videos not working | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "metasploit" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
| > service postgresql start | > service postgresql start | ||||||
|  |  | ||||||
| > systemctl status postgresql | > systemctl status postgresql | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "basics" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| > cd /etc/yum.repos.d/ | > cd /etc/yum.repos.d/ | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "npm" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
| package.json is the basic configuration file. | package.json is the basic configuration file. | ||||||
|  |  | ||||||
| Everything is per-directory. | Everything is per-directory. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "yum" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
| # Overview | # Overview | ||||||
|  |  | ||||||
| Forks include CentOS, scientific Linux, Oracle, and Fedora. | Forks include CentOS, scientific Linux, Oracle, and Fedora. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "http_server" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
| Nothing interesting. | Nothing interesting. | ||||||
|  |  | ||||||
| 1. Install | 1. Install | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "autologin" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| Make the autologin service: | Make the autologin service: | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "basics" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| # vkpurge | # vkpurge | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "extrace" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
| Monitor all processes: | Monitor all processes: | ||||||
|  |  | ||||||
| > extrace | > extrace | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "kernels" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| # vkpurge | # vkpurge | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "keyboard" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| To list keyboard specs: | To list keyboard specs: | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "lxc" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
| # Intro | # Intro | ||||||
|  |  | ||||||
| Taken from [this](https://r4nd0m6uy.ch/unpriviledged-containers-in-void-linux.html) | Taken from [this](https://r4nd0m6uy.ch/unpriviledged-containers-in-void-linux.html) | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "networking" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
| # Bridged adapters | # Bridged adapters | ||||||
|  |  | ||||||
| Virtual machines can use a bridge to connect to the internet.  Access the manual with  | Virtual machines can use a bridge to connect to the internet.  Access the manual with  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "sv" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
| # List Services | # List Services | ||||||
|  |  | ||||||
| All possible services are in: | All possible services are in: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "lxc" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| LXC creates miniature virtual machines to play with. | LXC creates miniature virtual machines to play with. | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "xbps" | ||||||
|  | tags: [ "Documentation", "distros" ] | ||||||
|  | --- | ||||||
| Install cowsay | Install cowsay | ||||||
|  |  | ||||||
| > xbps-install cowsay | > xbps-install cowsay | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "basics" | ||||||
|  | tags: [ "Documentation", "hardware" ] | ||||||
|  | --- | ||||||
| # Motherboard Information | # Motherboard Information | ||||||
|  |  | ||||||
| > sudo dmidecode | > sudo dmidecode | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "brightness" | ||||||
|  | tags: [ "Documentation", "hardware" ] | ||||||
|  | --- | ||||||
| # Brightness | # Brightness | ||||||
| /sys/class/backlight/*/brightness | /sys/class/backlight/*/brightness | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "keymaps" | ||||||
|  | tags: [ "Documentation", "hardware" ] | ||||||
|  | --- | ||||||
| Find easy-to-read keymapping lists in `/usr/share/X11/xkb/keycodes/symbols/pc`. | Find easy-to-read keymapping lists in `/usr/share/X11/xkb/keycodes/symbols/pc`. | ||||||
|  |  | ||||||
| If this doesn't work, try keymaps. | If this doesn't work, try keymaps. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "xmodmap" | ||||||
|  | tags: [ "Documentation", "hardware" ] | ||||||
|  | --- | ||||||
| Ensure you're not stuck in CAPS on mode: | Ensure you're not stuck in CAPS on mode: | ||||||
|  |  | ||||||
| > xmodmap -e 'clear Lock'  | > xmodmap -e 'clear Lock'  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "monitor" | ||||||
|  | tags: [ "Documentation", "hardware" ] | ||||||
|  | --- | ||||||
| See screen size | See screen size | ||||||
|  |  | ||||||
| > xrandr -q | > xrandr -q | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "printers" | ||||||
|  | tags: [ "Documentation", "hardware" ] | ||||||
|  | --- | ||||||
| # Cups: The Common Unix Printing System | # Cups: The Common Unix Printing System | ||||||
|  |  | ||||||
| Configure cups at /etc/cups/supsd.conf, or visit the local webpage at http://localhost:631 if you want to use the Apple interface, otherwise, it's the printing daemon. | Configure cups at /etc/cups/supsd.conf, or visit the local webpage at http://localhost:631 if you want to use the Apple interface, otherwise, it's the printing daemon. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "basics" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
| # You | # You | ||||||
|  |  | ||||||
| Check how your computer connects to the net: | Check how your computer connects to the net: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "dns" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
| # Designate DNS | # Designate DNS | ||||||
|  |  | ||||||
| On Debian, a file might gain DNS services by adding the following to /etc/network/interfaces: | On Debian, a file might gain DNS services by adding the following to /etc/network/interfaces: | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "fail2ban" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
| # SSH Daemon Jail | # SSH Daemon Jail | ||||||
|  |  | ||||||
| > sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.d/ssh.local | > sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.d/ssh.local | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "iptables" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
| # Intro | # Intro | ||||||
|  |  | ||||||
| This is a basic Linux firewall program. | This is a basic Linux firewall program. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "iptables" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
| # Intro | # Intro | ||||||
|  |  | ||||||
| This is a basic Linux firewall program. | This is a basic Linux firewall program. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "nmap" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| Example: | Example: | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "pihole" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
| View DNS traffic | View DNS traffic | ||||||
|  |  | ||||||
| > pihole -t | > pihole -t | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "pip" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| Upgrade all packages | Upgrade all packages | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "protocols" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
| # Protocols | # Protocols | ||||||
|  |  | ||||||
| | TCP | UDP | ICMP | | | TCP | UDP | ICMP | | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "radio" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
| Install ` gqrx` and `rtl-sdr` | Install ` gqrx` and `rtl-sdr` | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "rclone" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
| The manpage's 'Synopsis' provides a fast reference. | The manpage's 'Synopsis' provides a fast reference. | ||||||
|  |  | ||||||
| We'll assume a folder in Google Drive called 'test', and local folder called 'foo'. | We'll assume a folder in Google Drive called 'test', and local folder called 'foo'. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "screen" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| start session: screen | start session: screen | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "agate" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
| Make sure your dns is in order. | Make sure your dns is in order. | ||||||
| My domain name is `belgradecats.tk`, so put your own in there. | My domain name is `belgradecats.tk`, so put your own in there. | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "sshfs" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
| # Mount  | # Mount  | ||||||
|  |  | ||||||
| > sshfs alfred@192.168.0.14:Sync/Alfred | > sshfs alfred@192.168.0.14:Sync/Alfred | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "tricks" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| Mount a remote filesystem locally with fuse-sshfs: | Mount a remote filesystem locally with fuse-sshfs: | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "tor" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| # Get a hostname | # Get a hostname | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "transmission" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
| # Torrench | # Torrench | ||||||
|  |  | ||||||
| Torrench searches for torrents. | Torrench searches for torrents. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "troubleshooting" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| # Do you have an IP? | # Do you have an IP? | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "unison" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| # Local Sync | # Local Sync | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "nginx" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
| Install nginx: | Install nginx: | ||||||
|  |  | ||||||
| > sudo apt-get install nginx | > sudo apt-get install nginx | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "wifi" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
| # Netstat Stuff | # Netstat Stuff | ||||||
|  |  | ||||||
| Stats on local net usage within domain. | Stats on local net usage within domain. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "wireless" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| # Check wifi's working | # Check wifi's working | ||||||
| > lspci -k | > lspci -k | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "wpa_supplicant" | ||||||
|  | tags: [ "Documentation", "networking" ] | ||||||
|  | --- | ||||||
| # Intro | # Intro | ||||||
|  |  | ||||||
| wpa_supplicant configurations are stored in /etc/wpa_supplicant/wpa_supplicant-wlan0 (or equivalent). | wpa_supplicant configurations are stored in /etc/wpa_supplicant/wpa_supplicant-wlan0 (or equivalent). | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "basics" | ||||||
|  | tags: [ "Documentation", "sound" ] | ||||||
|  | --- | ||||||
| # Pulse | # Pulse | ||||||
| If you have pulse, use pulse. | If you have pulse, use pulse. | ||||||
| Check with `which pulseaudio`. No output means you need to use alsa (below). | Check with `which pulseaudio`. No output means you need to use alsa (below). | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "festival" | ||||||
|  | tags: [ "Documentation", "sound" ] | ||||||
|  | --- | ||||||
| # Basics | # Basics | ||||||
|  |  | ||||||
| Add your user to the audio group, and install `festival-english`. | Add your user to the audio group, and install `festival-english`. | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "ffmpeg" | ||||||
|  | tags: [ "Documentation", "sound" ] | ||||||
|  | --- | ||||||
| # Basics  | # Basics  | ||||||
|  |  | ||||||
| ffmpeg -i [input file] output_file.mkv | ffmpeg -i [input file] output_file.mkv | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "mpd" | ||||||
|  | tags: [ "Documentation", "sound" ] | ||||||
|  | --- | ||||||
| # Setup | # Setup | ||||||
|  |  | ||||||
| ## Configuration | ## Configuration | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | --- | ||||||
|  | title: "ncmpcpp" | ||||||
|  | tags: [ "Documentation", "sound" ] | ||||||
|  | --- | ||||||
|  |  | ||||||
| # Music Player Daemon | # Music Player Daemon | ||||||
|  |  | ||||||
|   | |||||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user