fc, pwd: add examples (#7284)
This commit is contained in:
@@ -15,3 +15,11 @@
|
|||||||
- List recent commands from history:
|
- List recent commands from history:
|
||||||
|
|
||||||
`fc -l`
|
`fc -l`
|
||||||
|
|
||||||
|
- List recent commands in reverse order:
|
||||||
|
|
||||||
|
`fc -r`
|
||||||
|
|
||||||
|
- List commands in a given interval:
|
||||||
|
|
||||||
|
`fc '{{416}}' '{{420}}'`
|
||||||
|
@@ -9,4 +9,8 @@
|
|||||||
|
|
||||||
- Print the current directory, and resolve all symlinks (i.e. show the "physical" path):
|
- Print the current directory, and resolve all symlinks (i.e. show the "physical" path):
|
||||||
|
|
||||||
`pwd -P`
|
`pwd --physical`
|
||||||
|
|
||||||
|
- Print the current logical directory:
|
||||||
|
|
||||||
|
`pwd --logical`
|
||||||
|
Reference in New Issue
Block a user