mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 05:58:28 +00:00
Update cheatsheets
This commit is contained in:
14
tldr/fc
14
tldr/fc
@@ -5,10 +5,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# fc
|
||||
|
||||
> Open the most recent command and edit it.
|
||||
> Open the most recent command for editing and then run it.
|
||||
> More information: <https://manned.org/fc>.
|
||||
|
||||
- Open in the default system editor:
|
||||
- Open the last command in the default system editor and run it after editing:
|
||||
|
||||
`fc`
|
||||
|
||||
@@ -24,6 +24,14 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`fc -l -r`
|
||||
|
||||
- List commands in a given interval:
|
||||
- Edit and run a command from history:
|
||||
|
||||
`fc {{number}}`
|
||||
|
||||
- Edit commands in a given interval and run them:
|
||||
|
||||
`fc '{{416}}' '{{420}}'`
|
||||
|
||||
- Display help:
|
||||
|
||||
`fc --help`
|
||||
|
||||
Reference in New Issue
Block a user