Created
October 27, 2021 06:18
-
-
Save Gesugao-san/b670562c9b21a8ad39a2b703f284b16e to your computer and use it in GitHub Desktop.
Shell command for update Linux (Ubuntu) packages and OS itself. For: https://ubuntu.com/wsl
This file contains 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
clear && cd / && echo "=====" && for i in $(seq 2); do echo "[$i/2]" && sudo apt update -y && apt list --upgradable -a && sudo apt upgrade -y && do-release-upgrade -d && apt dist-upgrade && sudo dpkg --configure -a && sudo apt autoremove -y && sudo apt autoclean -y && echo "====="; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment