Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

snaps in ubuntu take a lot of space

#!/bin/bash
# Removes old revisions of snaps
# CLOSE ALL SNAPS BEFORE RUNNING THIS
set -eu

LANG=en_US.UTF-8 snap list --all | awk '/disabled/{print $1, $3}' |
    while read snapname revision; do
        snap remove "$snapname" --revision="$revision"
    done
Comment

PREVIOUS NEXT
Code Example
Shell :: cse github 
Shell :: install extra requires 
Shell :: is greepper installed 
Shell :: git copy stash entry from one repo to another 
Shell :: debian 11 openvpn client option missing in network vpn after openvpm installition 
Shell :: powershell function with "invoke-sqlcmd" return resultset 
Shell :: how to schedule a system reboot with shutdown command 
Shell :: windows direct shortcut to programs and features 
Shell :: terminal bash grep word inside files directory 
Shell :: git collab 1 
Shell :: isomanager installation script 
Shell :: Save Resources in K8s, Delete Failed Pods 
Shell :: download marven ubuntu 
Shell :: pip increase timeout duration 
Shell :: linux copy file 
Shell :: delete evicted pods 
Shell :: debian make directory 
Shell :: git change name 
Shell :: audiokit pod 
Shell :: git short version hash [by index] 
Shell :: how to teamviewer host debian 11 
Shell :: github terraform integration 
Shell :: go to commit remote 
Shell :: Create directory junction in powershell 
Shell :: dnf install specific version 
Shell :: Ubuntu 22.04 acer no wifi interface 
Shell :: exit 0, run container in shell mode 
Shell :: disable windows 11 tpm secureboot cpu ram storage check 
Shell :: which 
Shell :: Run the commands for your corresponding operating system: 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =