显示最近安装的16个RPM软件包的列表,其中包含最新的RPM软件包

.

0

linux命令:rpm -qa --queryformat '%{INSTALLTIME} %{name}-%{version}-%{release}\n' | sort -k 1,1 -rn | nl | head -16 | awk '{printf("%3d %s %s\n", $1,strftime("%c",$2),$3)}' $1,strftime("%c",$2),$3)}' %s\n", %s '{printf("%3d awk | -16 head | nl | -rn 1,1 -k sort | %{name}-%{version}-%{release}\n' '%{INSTALLTIME} --queryformat -qa rpm rpm -qa --queryformat '%{INSTALLTIME} %{name}-%{version}-%{release}\n' | sort -k 1,1 -rn | nl | head -16 | awk '{printf("%3d %s %s\n", $1,strftime("%c",$2),$3)}'rootopen.com
linux命令:rpm -qa --queryformat '%{INSTALLTIME} %{name}-%{version}-%{release}\n' | sort -k 1,1 -rn | nl | head -16 | awk '{printf("%3d %s %s\n", $1,strftime("%c",$2),$3)}' $1,strftime("%c",$2),$3)}' %s\n", %s '{printf("%3d awk | -16 head | nl | -rn 1,1 -k sort | %{name}-%{version}-%{release}\n' '%{INSTALLTIME} --queryformat -qa rpm rpm -qa --queryformat '%{INSTALLTIME} %{name}-%{version}-%{release}\n' | sort -k 1,1 -rn | nl | head -16 | awk '{printf("%3d %s %s\n", $1,strftime("%c",$2),$3)}'rootopen.com
mi莎 2018-09-11 09:55:30
输出
 1 Wed 12 Sep 2018 15:41:27 BST google-chrome-stable-69.0.3497.92-1
  2 Fri 07 Sep 2018 19:00:03 BST qrencode-3.4.4-3.mga5
  3 Fri 07 Sep 2018 19:00:03 BST lib64qrencode3-3.4.4-3.mga5
  4 Mon 03 Sep 2018 15:40:12 BST lib64mariadb18-10.0.36-1.mga5
  5 Tue 24 Jul 2018 09:31:50 BST thunderbird-en_GB-52.9.1-1.mga5
  6 Tue 24 Jul 2018 09:31:50 BST rootcerts-java-20180411.00-1.mga5
  7 Tue 24 Jul 2018 09:31:50 BST rootcerts-20180411.00-1.mga5
  8 Tue 24 Jul 2018 09:31:49 BST thunderbird-52.9.1-1.mga5
  9 Tue 24 Jul 2018 09:31:46 BST nss-3.28.6-1.4.mga5
 10 Tue 24 Jul 2018 09:31:46 BST lib64nss3-3.28.6-1.4.mga5
 11 Tue 24 Jul 2018 09:31:46 BST lib64nspr4-4.19-1.mga5
 12 Sat 21 Jul 2018 18:43:41 BST xclip-0.12-7.mga5
 13 Fri 13 Jul 2018 10:39:35 BST lib64pathplan4-2.38.0-10.1.mga5
 14 Fri 13 Jul 2018 10:39:35 BST lib64gvc6-2.38.0-10.1.mga5
 15 Fri 13 Jul 2018 10:39:35 BST lib64cgraph6-2.38.0-10.1.mga5
 16 Fri 13 Jul 2018 10:39:35 BST lib64cdt5-2.38.0-10.1.mga5

评论

相关推荐
共收录0条命令行
这里是记录和分享命令行的地方, 所有命令行都可以进行评论、提交替代方案.

热门文章