Prolog

Opinionated Software Engineering Patterns

Tips & Tricks

Redirecting as root:

echo nice > sudo tee <filename>

Find which service is occupying which port

sudo lsof -i -P -n

Ban SSH password auth

# Edit /etc/ssh/sshd_config and set
PasswordAuthentication no

# then sudo systemctl reload sshd

Scan computers on the network

nmap -vvv -sn -sL 192.168.1.0/24

Library