diff --git a/pages/common/fc.md b/pages/common/fc.md index 4ef511d12..22eca744e 100644 --- a/pages/common/fc.md +++ b/pages/common/fc.md @@ -15,3 +15,11 @@ - List recent commands from history: `fc -l` + +- List recent commands in reverse order: + +`fc -r` + +- List commands in a given interval: + +`fc '{{416}}' '{{420}}'` diff --git a/pages/common/pwd.md b/pages/common/pwd.md index 9b63a5932..68694b896 100644 --- a/pages/common/pwd.md +++ b/pages/common/pwd.md @@ -9,4 +9,8 @@ - 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`