How do I access command line history?

I know there’s a way to view a partial history of the most recent commands that have been entered on a QNX 4.25 box. Where can I access this?


Yes, history. Isn’t there an input buffer or something that holds this? If I sit down at my box, enter 10 commands in a row, then get up and leave, I want to be able to come back and look at the last 10 commands I entered (assuming up-arrow doesn’t work in this instance).

export HISTFILE=~/.history in my ~/.profile works for me using ksh.

yes, “history”.
On my qnx 4 box, I can just type the command “history”, and it will display the history buffer.