Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Fedora Offline Upgrade Script
# Safely download and apply system updates at next reboot.
set -e
echo "🛰️ Downloading available system updates..."
sudo dnf offline-upgrade download
echo "🔄 Scheduling reboot to apply updates..."