Collection of commands, one liners
- Using Caddy webserver
caddy file-server --browse :80
- Using Python3
python -m http.server 80
- cmd:
ipconfig
- powershell:
Get-NetIPAddress -AddressFamily IPV4
- bash:
ifconfig
orhostname -I
orip a
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
sudo snap set certbot trust-plugin-with-root=ok
sudo certbot certonly --manual --preferred-challenges dns -d example.com -d *.example.com