fc ( en )

Last modification : 2013/01/26 19:16

fc command is used to print the command history. Without any parameter, fc prints the 20 last commands. If the parameter is a number, fc prints only this value length history.
msh> pwd
C:\temp
msh> ls
about.txt
msh> fc
2 pwd
1 ls
msh> fc 2
2 ls
1 fc