How do I find out what version of Linux I'm running?
Problem
Is there a way to determine what version (distribution & kernel version, I suppose) of Linux is running (from the command-line), that works on any Linux system?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How do I find out what version of Linux I'm running?
The kernel is universally detected with : There really isn't a cross-distribution way to determine what distribution and version you're on. There have been attempts to make this consistent, but ultimately it varies, unfortunately. LSB tools provide this information, but ironically aren't installed by default everywhere. Example on an Ubuntu 9.04 system with the package installed: Otherwise, the closest widely-available method is checking files. These exist on most of the common platforms, and o…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix