/usr/bin/fc
The fc utility shall list, or shall edit and re-execute, commands previously entered to an interactive sh.