detect_linux function

Detect Linux distro, base OS, and version