I used a combination of solutions shared in this thread to erase the trace in commands history.First, I verified where is saved commands history with:
echo $HISTFILE
I edited the history with:
vi <pathToFile>
After that, I flush current session history buffer with:
history -r && exit
Next time you enter to this session, the last command that you will see on command history is the last that you left on pathToFile.