Bash Internal variables $OSTYPE


Example

Returns information about the type of OS running on the machine, eg.

~> $ echo $OSTYPE
linux-gnu