Linux查看命令行历史命令记录

1. 通过history查看历史命令:

[jiaozl@jiaozl 桌面]$ history 
    1  which mpirun
    2  which gfortran
    3  which ifort
    4  which mpif90
    5  ip a s
    6  ifconfig
    7  ip a s
    8  ping baidu.com
    9  service httpd status
   10  systemctl status httpd.service
   11  httpd
   12  whereis httpd
   13  which httpd
   14  yum -y install httpd
   15  su root
   16  vi

你可能感兴趣的:(Linux,Linux入门学习)