try detection with bash