I am using the ksh shell. I am not getting any impact of these following commands. It is executing without any error but it is not giving the proper results.
export HISTTIMEFORMAT='%F %T '
Use the Up arrow to view the previous command and press enter to execute it.
Type !! and press Enter from the command line.
Type !-1 and press Enter from the command line.
Press Control+P will display the previous command, press Enter to execute it.
Basically I am not to do anything other than basic history command.