Featured
Update Ubuntu system packages
Refresh package lists and upgrade all installed packages. Always run first on a new server.
Runs apt update to refresh package lists then apt upgrade to install all pending security and feature updates. The -y flag skips confirmation prompts, making it safe to run in scripts.
When you need this: First thing after provisioning a new server, and periodically to apply security patches.
Command
2 views
0 copies
Related in this category
Log in to save
Free account — save snippets into your own collections.