FG
💻 Software

Query what Linux/Unix distribution you're using (from the command-line)

Fresh5 days ago
Mar 15, 20268868 views
Confidence Score0%
0%

Problem

When using an unfamiliar Linux/BSD/Unix computer (e.g. by SSH) from the command line, how can you tell what distribution (and what version of that distribution) you're using? Some options I've tried: : doesn't exist on OpenSuSE 11.3; works on Debian squeeze and Ubuntu 10.10. : doesn't give distro i…

Error Output

lsb_release --all

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Query what Linux/Unix distribution you're using (from the command-line)

Low Risk

If Python 2.3 or later is installed, this will work with many distributions:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment