---
title: "查看Linux是ubuntu还是centos"
author: "MyEyeOfJava"
date: "2018-03-26T10:02:14Z"
tags: []
categories: ["开源软件"]
slug: "linux-ubuntu-centos"
draft: false
lastmod: "2018-03-26T10:02:14Z"
id: 2414527
url: "https://myeyeofjava.iteye.com/blog/2414527"
---

\[operadmin@testtools devtools]$ lsb\_release -a 

LSB Version::core-4.1-amd64:core-4.1-noarch

Distributor ID:CentOS

Description:CentOS Linux release 7.4.1708 (Core) 

Release:7.4.1708

Codename:Core