Ubuntu
lsb_release -a cat /etc/lsb-release cat /etc/debian_versionNote: For Ubuntu /etc/debian_version seems to contain the Debian base from which this version of Ubuntu originates.
Debian
cat /etc/debian_version cat /etc/lsb-release lsb_release -aNote: The latter two are not always available on pure Debian systems.
Redhat/CentOS/Fedora
cat /etc/redhat-release
Gentoo
cat /etc/gentoo-release
No comments:
Post a Comment