Ubuntu Server CLI pro tips
Ubuntu Server CLI pro tipsNetworkingGet the IP address of all interfacesnetworkctl statusDisplay all IP addresses of the hosthostname -IEnable/disable interfaceip link set <interface> upip link set <interface> downManage firewall rulesenable firewall: sudo ufw enablelist rules: sudo ufw statusallow port: sudo ufw allow <port>deny port: sudo ufw deny <port>Connect remotely through SSHssh <user>@<host IP>Automatically detect and ban abusive IP addressessudo apt install fail2banShow banned IP addressessudo fail2ban-client statussudo fail2ban-client status <jail>Get the support status for installed packagesubuntu-support-statusEnable kernel live patchingsudo snap install canonical-livepatchsudo canonical-livepatch enable <token>Visit to get a free token for up to 3 LTSUbuntu LTSUbuntu LTSUbuntu LTSHardware and maintenance updatesMaintenance updates201420152016201720182019202120222 023202420252020202620272028202920302031I nterim r
Display background commands jobs Bring command <n> to the foreground fg <n> Kubernetes and containers Install MicroK8s and list available add-ons sudo snap install microk8s --classic microk8s.status --wait-ready Enable a MicroK8s add-on microk8s.enable <service> View MicroK8s nodes and running services microk8s.kubectl get nodes microk8s ...
Download Ubuntu Server CLI pro tips
Information
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document: