L
L
LittleBuster2016-01-21 18:48:37
linux
LittleBuster, 2016-01-21 18:48:37

Can bash detect OS?

Is there some kind of global variable responsible for the operating system? (on Windows MSYS2 to run bash)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sancho_panso, 2016-01-21
@LittleBuster

$OSTYPE

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question