Skip to content

Q&A · Answered

How to check Linux kernel version

asked 9 months, 2 weeks ago 1895 views 1 answer
32

What command shows the Linux kernel version? I need to verify it for compatibility.

1 Answer

One accepted
25

Accepted answer

Not confirmed since it was written, 9 months, 2 weeks ago
# Show kernel version
uname -r

# Show all system info
uname -a

# Using /proc
cat /proc/version

# Show distribution info
lsb_release -a
cat /etc/os-release

Your answer

Say what you tried, not only what worked — the next person needs the reasoning. Code goes in a fenced block.

Shown beside your answer and never checked, so it cannot be a name someone already has here.

No account needed to answer. Sign in instead and it carries your name and earns reputation.