Jawaban:
Untuk mendapatkan daftar paket yang terakhir diinstal , Anda dapat menjalankan:
grep -i installed /var/log/pacman.log
Contoh output dari paket yang diinstal terakhir:
[2015-08-24 15:32] [ALPM] warning: /etc/pamac.conf installed as /etc/pamac.conf.pacnew
[2015-08-24 15:32] [ALPM] installed python-packaging (15.3-1)
[2015-08-24 15:32] [ALPM] installed python2-packaging (15.3-1)
[2015-08-25 10:37] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
[2015-08-25 10:43] [ALPM] installed ttf-google-fonts (20150805.r201-1)
[2015-08-25 10:44] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
[2015-08-26 17:39] [ALPM] installed mozilla-extension-gnome-keyring-git (0.10.r36.378d9f3-1)
Untuk mendapatkan daftar paket terakhir yang ditingkatkan , Anda dapat menjalankan:
grep -i upgraded /var/log/pacman.log
Contoh output dari paket terakhir yang ditingkatkan:
[2015-08-27 10:00] [ALPM] upgraded libinput (0.99.1-1 -> 1.0.0-1)
[2015-08-27 10:00] [ALPM] upgraded python2-mako (1.0.1-1 -> 1.0.2-1)
[2015-08-27 16:03] [ALPM] upgraded tdb (1.3.6-1 -> 1.3.7-1)
[2015-08-27 16:03] [ALPM] upgraded ldb (1.1.20-1 -> 1.1.21-1)
[2015-08-27 16:03] [ALPM] upgraded python2-mako (1.0.2-1 -> 1.0.2-2)
Untuk mendapatkan daftar paket yang terakhir diinstal atau ditingkatkan , Anda dapat menjalankan:
grep -iE 'installed|upgraded' /var/log/pacman.log
Contoh output dari paket terakhir yang ditingkatkan:
[2015-08-25 09:56] [ALPM] upgraded jdk (8u51-2 -> 8u60-1)
[2015-08-25 10:37] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
[2015-08-25 10:43] [ALPM] installed ttf-google-fonts (20150805.r201-1)
[2015-08-25 10:44] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
[2015-08-26 17:39] [ALPM] installed mozilla-extension-gnome-keyring-git (0.10.r36.378d9f3-1)
[2015-08-27 10:00] [ALPM] upgraded curl (7.43.0-1 -> 7.44.0-1)
[2015-08-27 10:00] [ALPM] upgraded gc (7.4.2-2 -> 7.4.2-3)
[2015-08-27 10:00] [ALPM] upgraded kmod (21-1 -> 21-2)
[2015-08-27 10:00] [ALPM] upgraded libinput (0.99.1-1 -> 1.0.0-1)
[2015-08-27 10:00] [ALPM] upgraded python2-mako (1.0.1-1 -> 1.0.2-1)
[2015-08-27 16:03] [ALPM] upgraded tdb (1.3.6-1 -> 1.3.7-1)
[2015-08-27 16:03] [ALPM] upgraded ldb (1.1.20-1 -> 1.1.21-1)
[2015-08-27 16:03] [ALPM] upgraded python2-mako (1.0.2-1 -> 1.0.2-2)
tail
di akhir pipa untuk mendapatkan pesan terakhir ( 10
secara default)?