4

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?

MathCraft
  • 585
  • 5
  • 8

1 Answers1

6

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.

Szabolcs
  • 234,956
  • 30
  • 623
  • 1,263