A list of handy sysadmin one-liners.
docker run -it ubuntu
docker run -p 8080:80 nginx
Site must be configured on registry already and Nginx must be configured to run the site.
snap install core
snap refresh core
snap install --classic certbot
ln -s /snap/bin/certbot /usr/bin/certbot
certbot --nginx
# Answer questions
rsync -aP <src_file> <remote_user>@<remote_ip>:<root_file_path> --rsync-path="sudo rsync"