|math||the operating system command to start Mathematica|
|text ending with Enter||input for Mathematica|
|Ctrl+D or Quit||exiting Mathematica|
Running Mathematica with a text-based interface.
With a text-based interface, you interact with your computer primarily by typing text on the keyboard.
To start Mathematica
with a text-based interface, you typically type the command math
at an operating system prompt. On some systems, you may also be able to start Mathematica
with a text-based interface by double-clicking a Mathematica kernel
has started, it will print the prompt In:=
, signifying that it is ready for your input. You can then type your input, ending with Enter
will then process the input, and generate a result. If it prints the result out, it will label it with Out=
reference documents, dialogs with Mathematica
are shown in the following way:
The computer prints In:=
. You just type in 2+2
. The line that starts with Out=
is the result from Mathematica
Note that you do not explicitly type the In[n]:=
prompt; only type the text that follows this prompt.
Note also that most of the actual dialogs given in the Mathematica
tutorials show output in the form you get with a notebook interface to Mathematica
; output with a text-based interface looks similar, but lacks such features as special characters and font size changes.
"Using the Mathematica System
" gives more details on running Mathematica
with a text-based interface. To exit Mathematica
, either type Ctrl+D
at an input prompt.