Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

uninstall packages linux terminal

$ sudo apt-get --purge remove {PACKAGE_NAME}
Comment

delete list of packages linux

grep "2015-12-19.*.install " /var/log/dpkg.log | 
awk '{ print $4 }' | cut -d: -f1 | xargs sudo apt remove -y
Comment

linux remove packages

dpkg-query --show --showformat='${Package;-50}	${Installed-Size}
' | sort -k 2 -n | grep -v deinstall | awk '{printf "%.3f MB 	 %s
", $2/(1024), $1}'
Comment

PREVIOUS NEXT
Code Example
Shell :: print next 10 lines after grep 
Shell :: install rabbitmq in ubuntu 20.04 
Shell :: how to do create diff file in git 
Shell :: how to add a zip file 
Shell :: sudo: gem: command not found 
Shell :: extract rar centos 
Shell :: create json from terminal 
Shell :: ionic icon dimensions 
Shell :: linux check current umask 
Shell :: babel source maps 
Shell :: how to execute .sh file in linux 
Shell :: to create repo from cmd 
Shell :: bash create user with encrypted password 
Shell :: github create a new repository on the command line 
Shell :: install k3s on ubuntu 
Shell :: swagger editor locally 
Shell :: quit nano 
Shell :: expose deployment k8 
Shell :: fix corrupt pdf command line 
Shell :: how to install face_recognition with conda 
Shell :: jenkins as docker container 
Shell :: merge master into feature branch 
Shell :: git commit exluding one file 
Shell :: command to check the amount of disk space used 
Shell :: gitignore specific file 
Shell :: git bash command 
Shell :: steps to assign mfa using aws cli 
Shell :: Syntax error: word unexpected (expecting "in") 
Shell :: linux acpi turn display on/off 
Shell :: /usr/local/psa/var/modules/composer//composer.phar 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =