MathKernel runs the stand-alone Mathematica kernel. To access the full Mathematica system including the notebook interface, use Mathematica.
A stand-alone kernel session normally reads input from stdin (typically a keyboard), evaluates the expression, and prints the results to stdout (typically a display device). Input and output can be redirected using Mathematica commands or standard shell mechanisms.
The following command-line options can be given:
communicate only via MathLink
execute the commands in the initialization file file during startup
print information on interactions with MathLM
do not read any initialization files
use the password pw
read passwords from file
run cmd on startup
do not print banner or In/Out prompts (useful for batch input)
If no command-line options are given, the kernel will read the value of the environment variable MATHKERNELINIT and will use that value as though it had been entered on the command line.
Unless the Mathematica variable $IgnoreEOF is set to True, the kernel will exit when it receives an end-of-file character sequence. The kernel will always exit when given the command Quit.