标签:http url load ast rpm expec lis release ttl
1、查看系统是否有指定的账号
getent passwd 账号名称
[root@b ~]# getent passwd nobody
2、查询软件包中的执行命令
rpm -q --scripts 软件包名
[root@b ~]# rpm -q --scripts nginx
3、查看yum安装历史记录
yum history
[root@b ~]# yum history
Loaded plugins: fastestmirror
ID | Command line | Date and time | Action(s) | Altered
-------------------------------------------------------------------------------
25 | install -y screen | 2019-06-22 04:41 | Install | 1
24 | install -y vsftpd | 2019-06-21 01:36 | Install | 1
23 | remove -y httpd | 2019-06-21 01:34 | Erase | 1 EE
22 | install -y httpd | 2019-06-21 00:31 | Install | 3
21 | install -y expect | 2019-06-07 22:49 | Install | 2
20 | install -y libpng-devel | 2019-06-05 04:10 | Install | 1
19 | install -y libwebp libjp | 2019-06-05 04:09 | I, U | 3
18 | install -y curl-devel | 2019-06-05 04:05 | Install | 1
17 | update curl | 2019-06-05 04:03 | I, U | 10
16 | install -y libxml2-devel | 2019-06-05 04:00 | Install | 2
15 | install -y epel-release | 2019-05-29 12:18 | Install | 1
4、查看系统当前cpu核心数量 lscpu
[root@b ~]# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
5、
标签:http url load ast rpm expec lis release ttl
原文地址:https://www.cnblogs.com/xiaofeng666/p/11073499.html