在Linux输入history命令可以查看你输入的历史命令,例如:
[root@demo ~]# history 1 gnome-session 2 cd /etc/profile.d/ 3 ls 4 ls -l 5 mor[......]
继续阅读。。。