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
- what are repositories
- what is a package
- how to install ...
To turn on UFW,
```bash sudo ufw allow 22 sudo ufw enable sudo ufw status sudo systemctl enable ufw sudo systemctl ...