I wrote them to make it easier for me to update my linux (zorin OS) machine from the terminal.
- showhardware.sh: Displays detailed hardware information, including:
- System information
- Hardware details (bus info)
- BIOS and system enclosure information
- CPU information
- Memory usage
- checkforupdates.sh: Updates the system by:
- Running
apt updateandapt upgradeto update and upgrade packages - Cleaning up unused packages with
apt autocleanandapt autoremove - Refreshing Snap packages (if Snap is installed)
- Upgrading Flatpak packages (if Flatpak is installed)
- Running
- Extract files from the zip file.
- Open a terminal.
- Create a directory for the scripts:
mkdir -p ~/scripts - Move the extracted files into
~/scripts:mv /path/to/extracted/files/* ~/scripts
- Make the scripts executable:
chmod og+x ~/scripts/*.sh
- Add the scripts directory to your PATH:
echo 'export PATH=~/scripts:$PATH' >> ~/.bash_profile
- Reload your shell configuration:
source ~/.bash_profile