On Sep 4, 2011, at 14:02 , robin hankin wrote: > Hi. > > thanks for this. > > @justin: how do I run sage from the command line? I use the > precompiled version and am unsure how commandline sage works.
You open a Terminal window, first, and make sure that window has focus. Next, switch to the directory containing the precompiled version (referred to by the cognoscenti as $SAGE_ROOT): $ cd $SAGE_ROOT (replacing "$SAGE_ROOT" with "/path/to/directory/containing/sage") (without the "'s :-}) Then, type $ ./sage >From there, you should see a banner, announcing the version number and other >niceties, and the sage prompt: sage: >From here, it's much like using the notebook, except you don't have cells, you >just type "return" when done, and you do have "readline" functionality (using >"emacs" key bindings). I assume you know what all that jargon means, and have >some familiarity with shell usage. If not, ask here for more pointers, or do >a little googling :-} HTH Justin -- Justin C. Walker, Curmudgeon at Large Institute for the Absorption of Federal Funds ----------- My wife 'n kids 'n dogs are gone, I can't get Jesus on the phone, But Ol' Milwaukee's Best is my best friend. ----------- -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
