Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

cent os 8 delete all packages

# yum history list|awk '$1 ~ /[0-9]+/ {print $1}'| while read a; do yum history undo -y $a; done
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #cent #os #delete #packages
ADD COMMENT
Topic
Name
6+9 =