Skip to content

Instantly share code, notes, and snippets.

View darkmclo's full-sized avatar
💭
idle

darkmclo

💭
idle
View GitHub Profile
@darkmclo
darkmclo / update_debian_packages.sh
Created March 3, 2024 18:37
Update and upgrade Debian packages with bash script
#!/bin/bash
# Also works in Debian-based distros such as Ubuntu and Linux Mint.
# Do NOT forget to set the script file with execution permissions:
# chmod -X update_debian_packages.sh
# Variables
## Path where the log file will be located
LOG_FILE_PATH="/var/tmp/update_log.txt"