codex
Search…
Unix

DNS

sudo nano /etc/resolv.conf
set preferred dns server under nameserver x.x.x.x

UFW

ufw allow 22 isn't the same as ufw allow ssh
ufw limit ssh prevents abuse of ssh connections

User Management

Adding users

adduser

Removing users

userdel

Resetting Passwords

passwd [user]

Installing Binaries

sudo dpkg -i [binary].deb

Getting Updates

sudo apt-get update

Getting Upgrades

sudo apt-get upgrade

Upgrading Releases

sudo do-release-upgrade

Mounting a Windows Share

sudo mount -t cifs //[host]/[share] [directory] -o user=[windows user]
Copy link
On this page
DNS
UFW
User Management
Adding users
Removing users
Resetting Passwords
Installing Binaries
Getting Updates
Getting Upgrades
Upgrading Releases
Mounting a Windows Share