tldr/pages.zh/common/fc.md

17 lines
246 B
Markdown
Raw Normal View History

2019-02-26 03:12:52 +00:00
# fc
> 打开最近的命令并编辑它。
> 更多信息:<https://manned.org/fc>.
2019-02-26 03:12:52 +00:00
- 在系统默认编辑器中打开:
2019-02-26 03:12:52 +00:00
`fc`
- 指定要使用的的编辑器:
2019-02-26 03:12:52 +00:00
`fc -e {{'emacs'}}`
- 从历史记录中列出最近的命令:
2019-02-26 03:12:52 +00:00
`fc -l`