Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to find full command history, including previous sessions?

I'm trying to access all previous commands from the interactive sage shell, and I'm hoping to find something like .bash_history somewhere.

As far as I can tell, I can search previous commands by entering %hist, but this only gets me the session history. I can also go through each previous command one-by-one by hitting the up key, but that's a little too tedious for me. I think there is a file called history.sqlite at ~/.sage/ipython-5.0.0 but that's unreadable (and possible not from the interactive shell).

Is there a way to find the full history (or as much of it as is recently stored?)