Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

snap remove all disabled

# remove all disabled snaps 
LANG=C snap list --all | while read snapname ver rev trk pub notes; do if [[ $notes = *disabled* ]]; then sudo snap remove "$snapname" --revision="$rev"; fi; done
# free up space 
sudo du -sh /var/lib/snapd/cache/        # Get used space
sudo rm --force /var/lib/snapd/cache/*  # Remove cache
Comment

PREVIOUS NEXT
Code Example
Shell :: Add entry in authorized_keys from windows to linux host 
Shell :: MPIexec command 
Shell :: put all folders with specific name in git ignore 
Shell :: rename tool numeric linux 
Shell :: how to avoid some files when you making a list 
Shell :: head in windows console 
Shell :: docker run -e 
Shell :: set directory to be readable and writeable kali linux 
Shell :: ubuntu bluetooth config file 
Shell :: bashrc setup "android" example 
Shell :: invert grep 
Shell :: linux c compiler online 
Shell :: digit qweb odoo 
Shell :: user alternative php version in cpanel ssh 
Shell :: slack events api python 
Shell :: how to install celluloid in kali 
Shell :: git config --system core.longpaths true premission denied 
Shell :: cookie clicker hack 
Shell :: obs ubuntu noise reduction 
Shell :: Apache Webserver does not show directory listings but 403 - Yosemite 
Shell :: how to analyse a git repo 
Shell :: copy paste keys vim 
Shell :: download m3u8 ts files as mp4 
Shell :: how to edit bash rc file 
Shell :: how to get an object based on a substring jq 
Shell :: Collaborators access SSH new project Github 
Shell :: get UUID of raid array linux 
Shell :: generate kubernetes dashboard token longer time 
Shell :: How to open multiple windows on vi 
Shell :: tapping home-brew/core 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =