[root@localhost shell]# cat ~/.bash_history | sort | uniq -c | sort -nr | head
556 ls
57 cd ..
47 vim test.sh
46 ./test.sh
37 vim fullbackup.sh
28 ll
26 rm backup-20190828.tar.gz
25 vim log.log
25 cd /
24 vim increbackup.sh
[root@localhost shell]#
不良习惯要改正,ls敲的太多了T_T