很简单,命令是:lsb_release -a
root@VM-101-117-ubuntu:/wc/www# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
很简单,命令是:lsb_release -a
root@VM-101-117-ubuntu:/wc/www# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial