• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
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)

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

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

$OSTYPE

Similar questions
2
2tele22018-12-05 10:14:31
How to correctly compose and use a script on GPO Server 2016 for users to write the "description" column of the computer in the OU Active Directory? 6Reply
A
Alibek Kulseitov2016-08-04 09:58:07
Show DIV if user moved mouse away from site? 6Reply
A
Alexander Shapoval2016-08-21 10:28:09
Duplicate compound key error in MySQL. How to ignore these situations? 4Reply
J
joha07382021-05-11 15:59:03
Is it possible to create an array from methods in Java? 3Reply
I
ilovemaryjane2018-11-08 21:58:52
Is there a common practice in which directory to put Node applications on a Linux server? 1Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners