Created
April 19, 2023 10:22
-
-
Save amaurybsouza/f9cd363b8cd9c4d4109a5bffa0affec9 to your computer and use it in GitHub Desktop.
shell script update
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 package lists | |
sudo apt update ; apt uprade -y | |
# List the packages | |
sudo apt list --upgradable | |
# Remove unnecessary packages | |
sudo apt autoremove -y | |
# Clean up package cache | |
sudo apt clean | |
echo "System update completed!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment