Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- math -script test.m
- math -run < test.m
- math < test.m
- MathematicaScript test.m
- math -noprompt -run "<<test.m"
- math -run file.m
- math < file.m
- #!/usr/local/bin/MathematicaScript -script
- Print["Hello"]
- Mathematica 10.0 for Linux x86 (64-bit)
- Copyright 1988-2014 Wolfram Research, Inc.
- In[1]:=
- #1!
- Out[1]= -script + -------------------------------
- bin local MathematicaScript usr
- In[2]:= In[2]:= Hello
- In[3]:=
- WolframScript -script file.m
- patrick@lenerd:~/tmp$ ./file.m
- Hello
- patrick@lenerd:~/tmp$
- #!/usr/local/Wolfram/Mathematica/11.3/Executables/wolframscript -script (*Default installation place for Mathematica 11*)
- (* Your Code *)
- Print["Hello World"];
- ./file
Add Comment
Please, Sign In to add comment