Created
December 30, 2023 03:16
-
-
Save ZhanZiyuan/115e270b3185ed7ad3b486a62240737e to your computer and use it in GitHub Desktop.
The shell script to check updates for Ubuntu.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# update apt-get and update wget ca-certificates | |
sudo apt-get update && sudo apt-get install wget ca-certificates | |
# check if there are updates available for installed packages, giving a summary report | |
# upgrade installed packages | |
# [apt update and apt upgrade](https://blog.csdn.net/CSDN_duomaomao/article/details/77802673) | |
sudo apt update && sudo apt upgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment