1. 通过 history
查看历史命令:
history
[[email protected] 桌面]$ history
which mpirun
which gfortran
which ifort
which mpif90
ip a s
ifconfig
ip a s
ping baidu.com
service httpd status
systemctl status httpd.service
httpd
whereis httpd
which httpd
yum -y install httpd
su root