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 / System Parameters /

$OperatingSystem

FilledSmallSquare $OperatingSystem is a string giving the type of operating system under which Mathematica is being run.

FilledSmallSquare Typical values for $OperatingSystem are "Windows98", "MacOS" and "Unix".

FilledSmallSquare You can use $OperatingSystem to get an idea of what external commands will be available from within Mathematica.

FilledSmallSquare $OperatingSystem typically has the same value for different versions or variants of a particular operating system.

FilledSmallSquare See Section 2.14.5.

FilledSmallSquare See also: $MachineType, $System, $ProcessorType.

FilledSmallSquare New in Version 2.