How to Clean Up Snap Package Versions in Linux to Free Up Space Ubuntu 22.04 LTS
TheLinuxOS
Bash Script:
#!/bin/bash
Removes old revisions of snaps
CLOSE ALL SNAPS BEFORE RUNNING THIS
set -eu snap list --all | awk '/disabled/{print $1, $3}' | while read snapname revision; do snap remove "$snapname" --revision="$revision" done
Social networks: https://thelinuxos.com/ https://www.youtube.com/c/OsamaMahmood https://www.snapchat.com/add/osamamahmood00 https://facebook.com/thelinuxosblog https://twitter.com/MeiHacker https://www.instagram.com/osama_mahmood00/
Need a shell to hack from? Set up your own droplet today! Get $100 credit on Digital Ocean using this link https://m.do.co/c/a10662ba5a5d
Disclaimer: All information and software available on this site are for educational purposes only. Use these at your own discretion, the site owners cannot be held responsible for any damages caused. The views expressed on this site are our own and do not necessarily reflect those of our employers. If you don't know how to attack, you will not know how to defend it. ... https://www.youtube.com/watch?v=OmtzoEXvVT8
15962629 Bytes