Describes The Operating System

$OSTYPE describes the operating system Bash is running on.

Live Templates

Examples

Print the current OS :

1
echo $OSTYPE
BashSupport Pro is a Bash IDE with support for $OSTYPE – try it now!
© 2020–2022 Joachim Ansorg
Imprint
Privacy Policy
Legal