小编aaa*_*aaa的帖子

按日期检索 Linux 命令行历史记录

我想看看一周前的某一天我在 bash 命令行上输入了什么。有没有办法检索命令行历史记录?也许像下面这样?

> history --include-date | grep 2012-02-27`
Run Code Online (Sandbox Code Playgroud)

linux bash shell history command-line

23
推荐指数
1
解决办法
10万
查看次数

标签 统计

bash ×1

command-line ×1

history ×1

linux ×1

shell ×1