快速查看manjaro的pacman 软件记录
软件安装分为:(installed|reinstalled|removed|downgraded|upgraded)
1、查看安装的 cat /var/log/pacman.log | grep -E
installed
2、查看再安装 cat /var/log/pacman.log | grep -E
reinstalled
3、查看删除的 cat /var/log/pacman.log | grep -E
removed
4、查看下载的 cat /var/log/pacman.log | grep -E
downgraded
5、查看升级的 cat /var/log/pacman.log | grep -E
upgraded
最好使用管道处理下:cat /var/log/pacman.log | grep -E installed >> ~/installed.txt
查看文件:vim ~/installed.txt
人就像是被蒙着眼推磨的驴子,生活就像一条鞭子;当鞭子抽到你背上时,你就只能一直往前走,虽然连你也不知道要走到什么时候为止,便一直这么坚持着。