📜  print apt list - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:01.012000             🧑  作者: Mango

代码示例1
(zcat $(ls -tr /var/log/apt/history.log*.gz); cat /var/log/apt/history.log) 2>/dev/null |
  egrep '^(Start-Date:|Commandline:)' |
  grep -v aptdaemon |
  egrep '^Commandline:'