Skip to content

Instantly share code, notes, and snippets.

@flohansen
flohansen / uuid.sh
Created May 15, 2026 07:23
Random UUID using CLI on Linux
cat /proc/sys/kernel/random/uuid
@flohansen
flohansen / gist:31214ad6b27d8a5ae2db46b02d696a71
Created October 13, 2025 18:16
List all installed packages sorted by size
# Pacman
pacman -Qi | grep -E '^(Name|Installed)' | cut -f2 -d':' | xargs -n 3 | awk '{print $1, $2$3}' | sort -h -r -k2
# Yet another Yogurt
yay -Qi | grep -E '^(Name|Installed)' | cut -f2 -d':' | xargs -n 3 | awk '{print $1, $2$3}' | sort -h -r -k2