$OSTYPE
–
Describes The Operating System
$OSTYPE describes the operating system Bash is running on.
Links
Examples
- Print the current OS
- Output:
1echo $OSTYPE1linux-gnu
BashSupport Pro ist eine Bash IDE mit Unterstützung für $OSTYPE – probieren Sie es aus!