From c8c84d0db633d0e88e45a5165b978e88af72dedd Mon Sep 17 00:00:00 2001 From: danasmera Date: Fri, 17 Jul 2015 01:46:56 -0400 Subject: [PATCH] Get Linux distribution information --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index b5acf04..b880758 100644 --- a/README.md +++ b/README.md @@ -302,6 +302,9 @@ A few examples of piecing together commands: } ``` +- Find out the name,version and codename of your Linux OS distribution with Python +`python -c 'from platform import dist; print dist()'` + ## Obscure but useful