LFCS / reference

reference

ip a / ip route / ip link set eth0 up

Show addrs / routes / iface up

hostnamectl set-hostname name

Persistent hostname

ss -tlnp

Listening TCP ports + PIDs

ufw allow 80/tcp / ufw status

Debian firewall

firewall-cmd --add-port=80/tcp --permanent && firewall-cmd --reload

RHEL firewall (persist)

nmcli con add/mod/up / nmtui

RHEL persistent networking

ssh-keygen / ssh-copy-id u@host

Keys / push key