Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There is a way to forget the history of the prompt?

I'm using sagemath 9.0 in kubuntu 19.10, I can start it in the console just calling sage, then it starts the sage prompt. However I noticed that with the arrows up and down I can see the commands that I had written in the prompt days ago. My question is: there is a way to clear this history?

Googling I find some related things but nothing works, I tried the commands !clear (this just clear everything that is shown in the console, but not the history of sage), also %clear in and %clear out, that are IPython commands to delete some history, but they didnt work with the described kind of history.