I tried to delete the commands history in the NanoKVM terminal window but to no avail.
The only way was to delete the .ash_history file, but still till NanoKVM terminal window was closed and reopened, pressing the up arrow key would provide the cached commands.