This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
informatica:hp_z400_600_centos7_3 [2021/08/20 13:20] miquel [Desinstal·lació de paquets] |
informatica:hp_z400_600_centos7_3 [2021/08/20 14:01] (current) miquel [Desinstal·lació de paquets] |
||
---|---|---|---|
Line 237: | Line 237: | ||
# rpm -qa | sort > avance3-600-pkglist.txt | # rpm -qa | sort > avance3-600-pkglist.txt | ||
- | # comm -23 avance3-600-pkglist.txt avance-neo-500-pkglist.txt > compare-files-only-in-600.txt | + | # comm -23 avance3-600-pkglist.txt avance-neo-500-pkglist.txt > list-packages-only-in-600.txt |
- | # comm -13 avance3-600-pkglist.txt avance-neo-500-pkglist.txt > compare-files-only-in-500.txt | + | # comm -13 avance3-600-pkglist.txt avance-neo-500-pkglist.txt > list-packages-only-in-500.txt |
</ | </ | ||
Line 245: | Line 245: | ||
< | < | ||
# for PKG in `cat list-packages-only-in-600.txt` ; | # for PKG in `cat list-packages-only-in-600.txt` ; | ||
- | do echo $PKG" | + | > do echo $PKG" |
- | done > list-packages-only-in-600-with-repo.txt & | + | > done > list-packages-only-in-600-with-repo.txt & |
# wc -l list-packages-only-in-600.txt list-packages-only-in-600-with-repo.txt | # wc -l list-packages-only-in-600.txt list-packages-only-in-600-with-repo.txt |