Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to clear log snap.io

# make a file with name whatever.sh
# where contain botton script
# then run sudo bash whatever.sh

#!/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
Comment

PREVIOUS NEXT
Code Example
Shell :: merge branch from another repo 
Shell :: powershell invoke 
Shell :: compressed-raw-lzma kali install 
Shell :: linux screen one buffer frozen 
Shell :: who is affected by meningitis 
Shell :: oracle vm cannot install guest edition windows 10 enterprise 
Shell :: chrome open in vsc window ubuntu 
Shell :: There is no application installed for “shared library” files 
Shell :: lacie 2tb thunderbolt linux mount drive 
Shell :: Explain how repos work, referencing the .git file 
Shell :: what does le mean in linux 
Shell :: change default operating system grub 
Shell :: regex prenom et nom compose 
Shell :: ipython config location 
Shell :: what if i dont want gui in ubuntu 20.04 
Shell :: repozytoria ubuntu 
Shell :: go to last page in less command 
Shell :: how to reboot a system notifying other users with a message with shutdown command 
Shell :: Docker - a way to give access to a host USB or serial device 
Shell :: how to pass k8s secret in run command line 
Shell :: powershell remove remove startup text 
Shell :: command to push code to github 
Shell :: install xampp in ubuntu 20.04 
Shell :: docker restart always 
Shell :: linux cut all but last field 
Shell :: linux copy with different name 
Shell :: bash add multui options to script 
Shell :: pinch on linux 
Shell :: bash show function definition 
Shell :: how to install jupyter notebook in windows 10 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =