#!/bin/bash

function detectOS()
{
	if type -t wevtutil &> /dev/null
	then
		OSTYPE=MSwin
	elif type -t scutil &> /dev/null
	then
		OSTYPE=macOS 
	else
		OSTYPE=Linux
	fi
}
detectOS 
echo $OSTYPE