命令历史
shell进程会记录用户提交执行过的命令
可以是用history查看:
[root@localhost dev]# history 1 ss -tnl 2 ifconfig 3 vi /etc/sysconfig/network-scripts/ifcfg-ens33 4 reboot 5 systemctl stop firewalld 6 systemctl disable firewalld 7 ifconfig 8 ifconfig 9 startx 10 ping 114.114.114.114 11 top ...... 140 who -b 141 who -r 142 date 143 w 144 history