This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / System Interface / Global Parameters /

$Linked

FilledSmallSquare $Linked is True if the Mathematica kernel is being run through MathLink.

FilledSmallSquare $Linked is True when Mathematica is being run with a front end.

FilledSmallSquare $Linked is typically False when Mathematica is being run with a text-based interface.

FilledSmallSquare See also: $CommandLine, $BatchInput, $BatchOutput, $Notebooks.

FilledSmallSquare New in Version 2.