/notebook/linux-basics

Posts in linux-basics

Logging in Ubuntu

by Dan Aukes

A place to hold information about setting up, viewing, and controlling logging.

Read More
Simple Netplan Config

by Dan Aukes

Configs

Are usually found in /etc/netplan/

Usage

to test your config for 120 seconds

sudo netplan try

to ...

Read More
Networking

by Dan Aukes

Networking

list all current ethernet adapters

ifconfig

to bring a specific network interface up or down

```bash ifconfig <network ...

Read More
Rsync Quickref

by Dan Aukes

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 ...

Read More
Setup Samba from Bash

by Dan Aukes

Make your folder

mkdir ~/happy
chmod 0700 ~/happy

Set up samba

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

Read More
Shell Script Examples

by Dan Aukes

Sourcing bash scripts

source my_script

and

. my_script

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

Read More
Software Management

by Dan Aukes

Introduction

We hope to answer

  1. what are repositories
  2. what is a package
  3. how to install ...
Read More
Run scripts remotely over ssh with ```tmux```

by Dan Aukes

Overview

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

Read More