Garry's Mod Wiki

system.IsLinux

  boolean system.IsLinux()

Description

Returns whether the current OS is Linux.

Returns

1 boolean
Whether or not the game is running on Linux.