**Sage** is a python-based mathematics software that integrates a wide range of mathematics software into a single python interface.

Calling **sage** from the terminal (which is how you call it) creates a **CLI** version of sage (the program's default) from which you can then call the sage notebook by typing, `notebook()`

. The **sage notebook** is a web browser-based version of sage. I am running i386 12.10 if it helps.

When I run `sage notebook()`

from the terminal I receive the error:

```
bash: syntax error near unexpected token `('
```

`sage notebook()`

as one command? – Seth♦ Feb 2 '13 at 19:21`sage "notebook()"`

? – Seth♦ Feb 2 '13 at 23:26`sage -n`

or`sage -notebook`

will be the correct terminal command. – Jaakko Seppälä Aug 20 '13 at 7:50