Skip to content

Instantly share code, notes, and snippets.

[
{
"vendor":0,
"path":[
[
-97.743,
30.284
],
[
-97.743,
@gamesguru
gamesguru / sup.sh
Last active December 29, 2025 14:02
Software updating script for Ubuntu/Debian (apt-based systems)
#!/bin/bash
# A script for updating apt-based Linux distros
# ... put it in ~/.local/bin, /usr/local/bin, or anywhere in your $PATH
# exit on error
set -e
# Function Definitions
function exec_red {
printf "\\n\e[1;31m%s\e[0m\\n" "$*"