4
$\begingroup$

Is it possible to start Mathematica kernel from UNIX command line without having the init.m loaded, but not by simply deleting or commenting out it before hand?

If this is a Mathematica script, is it possible to have the script run and by pass the initialization of running init.m?

$\endgroup$
1
  • $\begingroup$ Possible duplicate: (1487) $\endgroup$
    – Mr.Wizard
    Oct 14, 2015 at 22:28

1 Answer 1

6
$\begingroup$

According to the documentation,

To suppress the loading of kernel initialization files, use the kernel command-line option -noinit.

To specify another file to be used for kernel initialization in addition to init.m, use the kernel command-line option -initfile file, where file is the additional initialization file.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.