Top "Os-detection" questions

Detecting the operating system that a program is running or being compiled on.

How to detect the OS from a Bash script?

I would like to keep my .bashrc and .bash_login files in version control so that I can use them …

bash os-detection
OS detecting makefile

I routinely work on several different computers and several different operating systems, which are Mac OS X, Linux, or Solaris. …

makefile os-agnostic os-detection
How to detect reliably Mac OS X, iOS, Linux, Windows in C preprocessor?

If there's some cross-platform C/C++ code that should be compiled on Mac OS X, iOS, Linux, Windows, how can …

c++ c cross-platform c-preprocessor os-detection
Makefile that distinguishes between Windows and Unix-like systems

I would like to have the same Makefile for building on Linux and on Windows. I use the default GNU …

linux windows makefile os-detection
Get users OS and version number

I've spent a day on and off Googeling for this; no luck so far. How can I get the users …

javascript php os-detection
tell if make is running on windows or linux

Is there a way to know in makefiles if GNU make is running on a linux OS or a windows …

makefile gnu-make os-agnostic os-detection
How to check website viewer's operating system?

I'm running Ubuntu 8.04 and I recently received the following error when visiting a website: Please return to www.site.com …

javascript operating-system os-detection
remote OS detection in python

I want to implement an OS detection using python (like nmap), I find python-nmap-0.3.4.tar.gz library, but it didn't …

python-3.x nmap os-detection