Ottenere La Versione Del Sistema Operativo
Per sapere che versione di linux stiamo usando abbiamo vari metodi:
$ cat /etc/issue Linux Mint 19.1 Tessa \n \l
oppure
$ hostnamectl Static hostname: max-desktop Icon name: computer-desktop Chassis: desktop Machine ID: 82929df7ee394b73b81252fe3b4e5020 Boot ID: 707fb447e5034e758774fe3a0144389e Operating System: Linux Mint 19.1 Kernel: Linux 4.15.0-20-generic Architecture: x86-64
oppure
$ cat /etc/linuxmint/info RELEASE=19.1 CODENAME=tessa EDITION="Cinnamon" DESCRIPTION="Linux Mint 19.1 Tessa" DESKTOP=Gnome TOOLKIT=GTK NEW_FEATURES_URL=https://www.linuxmint.com/rel_tessa_cinnamon_whatsnew.php RELEASE_NOTES_URL=https://www.linuxmint.com/rel_tessa_cinnamon.php USER_GUIDE_URL=https://www.linuxmint.com/documentation.php GRUB_TITLE=Linux Mint 19.1 Cinnamon
oppure
$ lsb_release -a No LSB modules are available. Distributor ID: LinuxMint Description: Linux Mint 19.2 Tina Release: 19.2 Codename: tina
oppure
$ cat /etc/os-release NAME="Linux Mint" VERSION="19.1 (Tessa)" ID=linuxmint ID_LIKE=ubuntu PRETTY_NAME="Linux Mint 19.1" VERSION_ID="19.1" HOME_URL="https://www.linuxmint.com/" SUPPORT_URL="https://forums.ubuntu.com/" BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/" PRIVACY_POLICY_URL="https://www.linuxmint.com/" VERSION_CODENAME=tessa UBUNTU_CODENAME=bionic