From d647fbb18bf3c9c07c0cbb02ba65d8583d962dc2 Mon Sep 17 00:00:00 2001 From: zhengsihua Date: Sat, 27 Sep 2014 11:34:20 +0800 Subject: [PATCH] [Translting] Linux FAQs with Answers--How to detect a Linux distribution in Perl --- ... with Answers--How to detect a Linux distribution in Perl.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sources/tech/20140925 Linux FAQs with Answers--How to detect a Linux distribution in Perl.md b/sources/tech/20140925 Linux FAQs with Answers--How to detect a Linux distribution in Perl.md index eeb5f9679d..bf200f16a4 100644 --- a/sources/tech/20140925 Linux FAQs with Answers--How to detect a Linux distribution in Perl.md +++ b/sources/tech/20140925 Linux FAQs with Answers--How to detect a Linux distribution in Perl.md @@ -1,3 +1,5 @@ +Trnalating-----geekpi + Linux FAQs with Answers--How to detect a Linux distribution in Perl ================================================================================ > **Question**: I need to write a Perl program which contains Linux distro-dependent code. For that, the Perl program needs to be able to automatically detect what Linux distribution (e.g., Ubuntu, CentOS, Debian, Fedora, etc) it is running on, and what version number it is. How can I identify Linux distribution in Perl?