Where is esh / ksh / fesh history file ?

Where is esh / ksh / fesh history file ?
/in QNX 6.3 SP3.

How to restore old command line history
after reboot ?

You can use the HISTFILE parameter to specify where to save the history. See the “Parameters” section in the docs for ksh.