How to retrieve the last command issue


How to retrieve the last command issue?
You can issue the following command to retrieve 
the last commands that has been issued
The above command will retrieve the last command and put it on 
the command line so that you can execute it again.
You can assign this command to any PF key so that if you press that
PF Key you can get the last command issue. 
I prefer using PF12 for this.
You can read the following article to know how to assign a key to a 
command to know more