[sage-support] Re: output from sage to file

2012-11-20 Thread P Purkayastha
The sage prompt is *not* a bash (or shell) prompt! It is an ipython prompt. If you want the output dumped to a file, then you need to run the asd.sage file like this: $ sage asd.sage output.txt On 11/21/2012 12:57 PM, Александр Шевченко wrote: I have encountered problem using Sage 5.4. I

[sage-support] Re: output from sage to file

2012-11-20 Thread Александр Шевченко
I understood. Then next question. I build sage from source. In terminal. $ sage No command 'sage' found, did you mean: Command 'osage' from package 'graphviz' (main) Command 'save' from package 'atfs' (universe) Command 'page' from package 'tcllib' (universe) sage: command not found Best

Re: [sage-support] Re: output from sage to file

2012-11-20 Thread Jan Groenewald
Hi Your sage installation seems to be in /home/toivo/sage/. This is normally called SAGE_ROOT, which is a bash variable. You can set the command sage to be an alias for /home/toivo/sage/sage like this alias sage='/home/toivo/sage/sage' and you can make this permanent for all new terminals you