前言
如果经常使用 Linux 命令行,那么使用 history(历史)命令可以有效地提升你的效率:History(历史)命令用法15例
使用方式
vim abc.txt
history | grep vim
# 45 vim abc.txt
# 99 vim print.go
# .....
#
# 使用指定命令
!45
如果经常使用 Linux 命令行,那么使用 history(历史)命令可以有效地提升你的效率:History(历史)命令用法15例
vim abc.txt
history | grep vim
# 45 vim abc.txt
# 99 vim print.go
# .....
#
# 使用指定命令
!45
本文标题:linux history 查看过去使用的命令
本文链接:https://www.haomeiwen.com/subject/opgqvltx.html
网友评论