Como salvar o histórico de comandos no Linux

 history > history.txt
# it will save the history of used commands in linux terminal.
visualscrapper