命令歷史

shell進程會記錄用戶提交執(zhí)行過的命令

可以是用history查看:

移動開發(fā)培訓,Android培訓,安卓培訓,手機開發(fā)培訓,手機維修培訓,手機軟件培訓

[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

網(wǎng)友評論