Timeline for How to open Mathematica from the terminal in OS X
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 14, 2014 at 21:30 | comment | added | Szabolcs | @Mencia To create a new notebook, just switch to Mathematica (or start it up) and press Command-N. | |
Jun 14, 2014 at 20:36 | comment | added | Mencia | thats what I was looking for, thanks a lot @Pickett !! | |
Jun 14, 2014 at 20:16 | comment | added | C. E.♦ |
@Mencia open -n -a Mathematica opens a new instance of Mathematica. touch ${TMPDIR}/new.nb; open -a Mathematica ${TMPDIR}/new.nb creates a new file in a temporary folder and then opens it. Since the file is created inside the temporary directory it will be removed when the system is restarted. I think the equivalent to what you're talking about is the first option, but it opens the splash screen instead of a blank notebook.
|
|
Jun 14, 2014 at 20:03 | comment | added | Mencia | @ Michael E2, I tried it but, it does not open a new one but it opens the last file I was in. | |
Jun 14, 2014 at 19:59 | comment | added | Michael E2 |
@Mencia open -a Mathematica
|
|
Jun 14, 2014 at 19:24 | comment | added | Mencia | And how can I open a new notebook, i.e. not an already existing file from the terminal? In Linux it would be just "mathematica &" | |
Jun 14, 2014 at 19:18 | comment | added | C. E.♦ |
And for reference, if that doesn't work, try: open -a Mathematica filename.nb .
|
|
Jun 14, 2014 at 19:13 | vote | accept | Mencia | ||
Jun 14, 2014 at 19:13 | comment | added | Mencia | indeed, it works :)))! Thankyou zoo much!! | |
Jun 14, 2014 at 19:09 | history | answered | TransferOrbit | CC BY-SA 3.0 |