System and processes
The lsb_release command
Shows the Linux distribution and its version. With -a, all the data.
Copy-ready examples
$ lsb_release -aShow the distributionYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- On minimal systems it may not be installed; check /etc/os-release.
FAQ
What does lsb_release show?
The distribution info: name, version and codename.
Is there a shortcut?
Yes: lsb_release -a.
Learn to actually use it
The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.
Start the free course