Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Command-line arguments of Mathematica Kernel and FrontEnd

I still know nothing on usage of such command-line options of MathKernel as

-lmverbose
-run cmd
-password "pw"
-pwfile "file"

How are they working and what they are needed for?

Are there other potentially useful command-line options of the MathKernel and the FrontEnd?

P.S. Related answer.

like image 547
Alexey Popkov Avatar asked Apr 24 '11 12:04

Alexey Popkov


1 Answers

Please consult the following reference pages: MathKernel and Mathematica. Opening "More Information" section you will see documented options. Its says

-pwfile "file" ------- read passwords from file

-run cmd ----------- run cmd on startup

-lmverbose ------------ print information on interactions with MathLM


One can use -run option to execute certain commands before the first input, and it will not affect In/Out. Try MathKernel -run "a=1" and evaluate a on In1.

like image 148
Sasha Avatar answered Sep 30 '22 07:09

Sasha