mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 15:51:45 +00:00
Update cheatsheets
This commit is contained in:
29
fc
Normal file
29
fc
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# fc
|
||||
|
||||
> Open the most recent command and edit it.
|
||||
> More information: <https://manned.org/fc>.
|
||||
|
||||
- Open in the default system editor:
|
||||
|
||||
`fc`
|
||||
|
||||
- Specify an editor to open with:
|
||||
|
||||
`fc -e {{'emacs'}}`
|
||||
|
||||
- List recent commands from history:
|
||||
|
||||
`fc -l`
|
||||
|
||||
- List recent commands in reverse order:
|
||||
|
||||
`fc -l -r`
|
||||
|
||||
- List commands in a given interval:
|
||||
|
||||
`fc '{{416}}' '{{420}}'`
|
||||
Reference in New Issue
Block a user