Ask Your Question

Revision history [back]

One solution without deleting the file yourself is:

sage -ipython history clear

You may also just trim the history the last let's say 1000 commands, see documentation of sage -ipython history -h.

One solution without deleting which avoids touching the history.sqlite file yourself is:

sage -ipython history clear

You may also just trim the history the last let's say 1000 commands, see documentation of sage -ipython history -h.

One solution which avoids touching the history.sqlite file yourself is:

sage -ipython history clear

You may also just trim the history to keep only the last let's say 1000 commands, commands with sage -ipython history trim, see documentation of sage -ipython history -h.