Posts in linux-basics

Configs

Are usually found in /etc/netplan/

Usage

to test your config for 120 seconds

sudo netplan try

to ...

Networking

list all current ethernet adapters

sudo apt install -y net-tools
ifconfig

to bring a specific network interface ...

quick recipes

Local

```bash rsync -haviP --inplace --delete-before --no-compress /storage/nas/photos /media/danaukes/extreme-ssd/ rsync -haviP --inplace --delete-before --no-compress ...

Make your folder

mkdir ~/happy
chmod 0700 ~/happy

Set up samba

```bash sudo apt install -y samba sudo nano ...

Sourcing bash scripts

source my_script

and

. my_script

are equivalent. This is like copying and pasting each ...

Software Management

by danaukes

Introduction

We hope to answer

  1. what are repositories
  2. what is a package
  3. how to install ...

Overview

tmux is tool that lets you run multiple sub-sessions from one session. It's good ...

To turn on UFW,

```bash sudo ufw allow 22 sudo ufw enable sudo ufw status sudo systemctl enable ufw sudo systemctl ...