This script automates the process of updating your Linux system. It updates the package list, upgrades all packages to their newest versions, and cleans up unnecessary files. If a reboot is required after the updates, it notifies the user.
Assuming that you`ve cloned this repo:
-
Run the following command to make sure that user can execute script:
sudo chmod u+x bear-update
-
Place script in local binary directory:
sudo cp bear-update /usr/local/bin/
-
You can now run the script at any time by typing:
bear-update