In NetBSD /bin/sh is a modified version of the Almquist shell. With the command fc -l it is possible to view the last 16 commands typed in the prompt in the current session and not the older ones.
The environment variable HISTSIZE is set at 1000 and in bash this means that the last 1000 commands (whether or not they were typed in the current session) are saved in a file named .bash_history in the home directory. But here it seems to mean just that the last 1000 commands in this session are keeped in the history, and the history does not seem to be saved in a file.
I am looking for a history which allows not only to read the last commands of the current session, but also the commands of the previous sessions (for example, the previous time I started the system, not the actual time). Does /bin/sh in NetBSD have by default such an history? If not, is it possible to create such an history in that shell?