is a symbol whose value, if any, is evaluated when a dialog or a Mathematica session is terminated.


  • For Mathematica sessions, $Epilog is conventionally defined to read in a file named end.m.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Evaluate $Epilog when the Mathematica kernel session is terminated:

Click for copyable input
New in 1
New to Mathematica? Find your learning path »
Have a question? Ask support »