The REAL Cisco way of retrieving the last command is to use the CTRL-P combination.
To jump to the beginning of a line, use CTRL-A
To jump to the end of a line, use CTRL-E
There are a bunch of CTRL-<> combinations, but those are the three biggies. All of the CTRL-<> combinations are listed in...