bash os detection.