This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lsof | grep libssl | awk ‘{print $1}’ | sort | uniq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 2days | |
journalctl --vacuum-time=2d | |
##500mb | |
journalctl --vacuum-size=500M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## make sure its down | |
wsl --shutdown | |
## export for backup | |
wsl --export Fedora S:\Backup\wsl-fedora40-compact.vhdx | |
## make sure its not mounted by the OS | |
Dismount-DiskImage -ImagePath 'C:\distros\Fedora\ext4.vhdx' | |
## make sure its not sparse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf upgrade --refresh | |
sudo dnf install dnf-plugin-system-upgrade | |
sudo dnf system-upgrade download --releasever=40 | |
## Tell DNF no reboots are needed ever | |
export DNF_SYSTEM_UPGRADE_NO_REBOOT=1 | |
## triger update | |
sudo -E dnf system-upgrade reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
# Make sure DNF is installed | |
if ! command -v dnf &> /dev/null; then | |
echo "dnf could not be found. Please install dnf first." | |
exit | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am earentir on github. | |
* I am earentir (https://keybase.io/earentir) on keybase. | |
* I have a public key whose fingerprint is 2041 9E62 779C 192D 21E9 7934 0A0A 61AA CE30 ACFF | |
To claim this, I am signing this object: |